Ocean
|
This class provides a unique data type for any data type. More...
Public Types | |
typedef TypeMapperBySize< sizeof(T)>::Type | Type |
Definition of an invalid mapped data type. More... | |
This class provides a unique data type for any data type.
The class can be used to reduce binary size of template functions with code mainly defined by the size of a data type instead of the data type itself.
This class provides the following mapping:
Data type: Resulting mapped data type bool unsigned char char unsigned char signed char unsigned char unsigned char unsigned char short unsigned short unsigned short unsigned short int unsigned int unsigned int unsigned int float unsigned int long long unsigned long long unsigned long long unsigned long long double unsigned long long
T | The data type for which a corresponding data type will be determined, with possible sizeof {1, 2, 4, 8} |
typedef TypeMapperBySize<sizeof(T)>::Type Ocean::TypeMapper< T >::Type |
Definition of an invalid mapped data type.