CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <CLHEP/Utility/noncopyable.h>
#include <CLHEP/Utility/type_traits.h>
#include <cassert>
Go to the source code of this file.
Classes | |
struct | UDT |
struct | POD_UDT |
struct | empty_UDT |
struct | empty_POD_UDT |
union | union_UDT |
union | POD_union_UDT |
union | empty_union_UDT |
union | empty_POD_union_UDT |
struct | nothrow_copy_UDT |
struct | nothrow_assign_UDT |
struct | nothrow_construct_UDT |
class | Base |
class | Derived |
class | Derived2 |
class | MultiBase |
class | PrivateBase |
class | NonDerived |
struct | VB |
struct | VD |
struct | non_pointer |
struct | non_int_pointer |
struct | int_constructible |
struct | int_convertible |
struct | non_empty |
struct | test_abc1 |
struct | test_abc2 |
struct | test_abc3 |
struct | polymorphic_base |
struct | polymorphic_derived1 |
struct | polymorphic_derived2 |
struct | virtual_inherit1 |
struct | virtual_inherit2 |
struct | virtual_inherit3 |
struct | virtual_inherit4 |
struct | virtual_inherit5 |
struct | virtual_inherit6 |
struct | trivial_except_construct |
struct | trivial_except_destroy |
struct | trivial_except_copy |
struct | trivial_except_assign |
struct | wrap< T > |
struct | convertible_from< T > |
struct | base2 |
struct | middle2 |
struct | derived2 |
Defines | |
#define | conversion_claim(From, To) (is_convertible<From,To>::value) |
#define | does_convert(From, To) assert(conversion_claim(From,To)) |
#define | does_not_convert(From, To) assert(!conversion_claim(From,To)) |
Typedefs | |
typedef void(*) | f1 () |
typedef int(*) | f2 (int) |
typedef int(*) | f3 (int, bool) |
typedef void(UDT::*) | mf1 () |
typedef int(UDT::*) | mf2 () |
typedef int(UDT::*) | mf3 (int) |
typedef int(UDT::*) | mf4 (int, float) |
typedef intUDT::* | mp |
typedef int(UDT::*) | cmf (int) const |
typedef void | foo0_t () |
typedef void | foo1_t (int) |
typedef void | foo2_t (int &, double) |
typedef void | foo3_t (int &, bool, int, int) |
typedef void | foo4_t (int, bool, int *, int[], int, int, int, int, int) |
Enumerations | |
enum | enum_UDT { one, two, three } |
enum | enum1 { one_, two_ } |
enum | enum2 { three_, four_ } |
Functions | |
int | main () |
#define conversion_claim | ( | From, | |||
To | ) | (is_convertible<From,To>::value) |
#define does_convert | ( | From, | |||
To | ) | assert(conversion_claim(From,To)) |
Referenced by main().
#define does_not_convert | ( | From, | |||
To | ) | assert(!conversion_claim(From,To)) |
Referenced by main().
typedef int(UDT::*) cmf(int) const |
Definition at line 45 of file testIsConvertible.cc.
typedef void(*) f1() |
Definition at line 37 of file testIsConvertible.cc.
typedef int(*) f2(int) |
Definition at line 38 of file testIsConvertible.cc.
typedef int(*) f3(int, bool) |
Definition at line 39 of file testIsConvertible.cc.
typedef void foo0_t() |
Definition at line 216 of file testIsConvertible.cc.
typedef void foo1_t(int) |
Definition at line 217 of file testIsConvertible.cc.
typedef void foo2_t(int &, double) |
Definition at line 218 of file testIsConvertible.cc.
typedef void foo3_t(int &, bool, int, int) |
Definition at line 219 of file testIsConvertible.cc.
typedef void foo4_t(int, bool, int *, int[], int, int, int, int, int) |
Definition at line 220 of file testIsConvertible.cc.
typedef void(UDT::*) mf1() |
Definition at line 40 of file testIsConvertible.cc.
typedef int(UDT::*) mf2() |
Definition at line 41 of file testIsConvertible.cc.
typedef int(UDT::*) mf3(int) |
Definition at line 42 of file testIsConvertible.cc.
typedef int(UDT::*) mf4(int, float) |
Definition at line 43 of file testIsConvertible.cc.
typedef intUDT::* mp |
Definition at line 44 of file testIsConvertible.cc.
enum enum1 |
enum enum2 |
enum enum_UDT |
int main | ( | ) |