isConvertible<From,To>::value is a compile time constant which is true if type From can be converted into type To without special syntax. More...
#include <classTraits.h>
Public Types | |
| enum | constants { value = sizeof( f(fromp) ) == sizeof( f(top) ) } |
Static Public Member Functions | |
| static int | f (To) |
| static char | f (...) |
Static Public Attributes | |
| static From | fromp |
| static To | top |
isConvertible<From,To>::value is a compile time constant which is true if type From can be converted into type To without special syntax.
For example an character can be converted into an integer, but a a pointer cannot be converted into an integer without a cast.
Definition at line 380 of file classTraits.h.
| enum constants |
Definition at line 413 of file classTraits.h.
| static int f | ( | To | ) | [static] |
| static char f | ( | ... | ) | [static] |
From fromp [static] |
Definition at line 397 of file classTraits.h.
To top [static] |
Definition at line 398 of file classTraits.h.
1.6.3