IsIntType< T > Struct Template Reference
Wrapper around the member, value, which will be 1 if T is an integral type (including unsigned char but not regular char). For all other types, value will be 0.
More...
#include <BIscan.h>
List of all members.
Public Types |
enum | { value = (1 == sizeof( f(*t) ))
} |
Static Public Member Functions |
static char | f (unsigned char) |
static char | f (unsigned long long) |
static char | f (unsigned long) |
static char | f (unsigned short) |
static char | f (unsigned int) |
static char | f (long long) |
static char | f (long) |
static char | f (short) |
static char | f (int) |
static int | f (void const *) |
Static Public Attributes |
static T * | t |
Detailed Description
template<class T>
struct BIscan::IsIntType< T >
Wrapper around the member, value, which will be 1 if T is an integral type (including unsigned char but not regular char). For all other types, value will be 0.
Yes, this code is in the boost library too -- and probably works better. But our needs are low here.
Definition at line 1003 of file BIscan.h.
Member Enumeration Documentation
Member Function Documentation
static char f |
( |
unsigned |
char |
) |
[static] |
static char f |
( |
unsigned long |
long |
) |
[static] |
static char f |
( |
unsigned |
long |
) |
[static] |
static char f |
( |
unsigned |
short |
) |
[static] |
static char f |
( |
unsigned |
int |
) |
[static] |
static char f |
( |
long |
long |
) |
[static] |
static char f |
( |
long |
|
) |
[static] |
static char f |
( |
short |
|
) |
[static] |
static char f |
( |
int |
|
) |
[static] |
static int f |
( |
void const * |
|
) |
[static] |
Member Data Documentation
The documentation for this struct was generated from the following file: