|
CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
Go to the source code of this file.
Macros | |
| #define | claim_same(From, To) (is_same<From,To>::value) |
| #define | has_same_type(From, To) assert(claim_same(From,To)) |
| #define | has_different_type(From, To) assert(!claim_same(From,To)) |
Typedefs | |
| typedef int | my_int |
Functions | |
| int | main () |
| #define claim_same | ( | From, | |
| To | |||
| ) | (is_same<From,To>::value) |
Definition at line 28 of file testIsSame.cc.
| #define has_different_type | ( | From, | |
| To | |||
| ) | assert(!claim_same(From,To)) |
Definition at line 30 of file testIsSame.cc.
Referenced by main().
| #define has_same_type | ( | From, | |
| To | |||
| ) | assert(claim_same(From,To)) |
Definition at line 29 of file testIsSame.cc.
Referenced by main().
| typedef int my_int |
Definition at line 25 of file testIsSame.cc.
| int main | ( | ) |
Definition at line 33 of file testIsSame.cc.
References has_different_type, and has_same_type.
1.8.13