CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include "CLHEP/Utility/type_traits.h"
#include <cassert>
Go to the source code of this file.
Defines | |
#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)) |
#define has_same_type | ( | From, | |||
To | ) | assert(claim_same(From,To)) |
typedef int my_int |
Definition at line 25 of file testIsSame.cc.
int main | ( | ) |