61template <
class T,
bool B>
68template <
class T,
unsigned long N>
83#ifndef INVT_TYPEDEF_BYTE
84#define INVT_TYPEDEF_BYTE
89#ifndef INVT_TYPEDEF_INT16
90#define INVT_TYPEDEF_INT16
95#ifndef INVT_TYPEDEF_UINT16
96#define INVT_TYPEDEF_UINT16
101#ifndef INVT_TYPEDEF_INT32
102#define INVT_TYPEDEF_INT32
107#ifndef INVT_TYPEDEF_UINT32
108#define INVT_TYPEDEF_UINT32
113#ifndef INVT_TYPEDEF_INT64
114#define INVT_TYPEDEF_INT64
119#ifndef INVT_TYPEDEF_UINT64
120#define INVT_TYPEDEF_UINT64
125#ifndef INVT_TYPEDEF_USHORT
126#define INVT_TYPEDEF_USHORT
131#ifndef INVT_TYPEDEF_UINT
132#define INVT_TYPEDEF_UINT
137#ifndef INVT_TYPEDEF_ULONG
138#define INVT_TYPEDEF_ULONG
type_with_N_bits< unsignedshort, 16 >::type uint16
16-bit unsigned integer
type_with_N_bits< int, 32 >::type int32
32-bit signed integer
type_with_N_bits< unsignedlonglongint, 64 >::type uint64
64-bit unsigned integer
unsigned short int ushort
Canonical unsigned short int.
type_with_N_bits< unsignedint, 32 >::type uint32
32-bit unsigned integer
type_with_N_bits< unsignedchar, 8 >::type byte
8-bit unsigned integer
unsigned int uint
Canonical unsigned int.
unsigned long int ulong
Canonical unsigned long int.
type_with_N_bits< short, 16 >::type int16
16-bit signed integer
type_with_N_bits< longlongint, 64 >::type int64
64-bit signed integer
Makes a type a typedef for T only if B is true.
A compile-time check that T has N bits.
type_if< T, sizeof(T) *8==N >::type type