SameType< T1, T2 > Struct Template Reference
SameType:
SameType can be used to check types at compile time.
More...
#include <PAssert.h>
List of all members.
|
Public Types |
enum | { same = false
} |
Detailed Description
template<class T1, class T2>
struct SameType< T1, T2 >
SameType:
SameType can be used to check types at compile time.
CTAssert takes a compile-time bool. SameType provides a compile-time bool that tells you if two types are the same. For now it's pretty simple, but you could imagine extending it to strip reference etc.
Member Enumeration Documentation
template<class T1 , class T2 >
The documentation for this struct was generated from the following file: