Embedded Template Library 1.0
|
Classes | |
struct | etl::smallest_uint_for_bits< NBITS > |
Template to determine the smallest unsigned int type that can contain a value with the specified number of bits. Defines 'type' which is the type of the smallest unsigned integer. More... | |
struct | etl::smallest_int_for_bits< NBITS > |
Template to determine the smallest signed int type that can contain a value with the specified number of bits. Defines 'type' which is the type of the smallest signed integer. More... | |
struct | etl::smallest_uint_for_value< VALUE > |
Template to determine the smallest unsigned int type that can contain the specified unsigned value. Defines 'type' which is the type of the smallest unsigned integer. More... | |
struct | etl::smallest_int_for_value< VALUE > |
Template to determine the smallest int type that can contain the specified signed value. Defines 'type' which is the type of the smallest signed integer. More... | |
struct | etl::smallest_type< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 > |
struct etl::smallest_uint_for_bits |
Template to determine the smallest unsigned int type that can contain a value with the specified number of bits. Defines 'type' which is the type of the smallest unsigned integer.
Template to determine the smallest unsigned int type that can contain a value with the specified number of bits. Defines 'type' which is the type of the smallest unsigned integer.
Public Types | |
typedef private_smallest::best_fit_uint_type< TYPE_INDEX >::type | type |
typedef private_smallest::best_fit_uint_type< TYPE_INDEX >::type | type |
struct etl::smallest_int_for_bits |
Template to determine the smallest signed int type that can contain a value with the specified number of bits. Defines 'type' which is the type of the smallest signed integer.
Template to determine the smallest signed int type that can contain a value with the specified number of bits. Defines 'type' which is the type of the smallest signed integer.
Public Types | |
typedef private_smallest::best_fit_int_type< TYPE_INDEX >::type | type |
typedef private_smallest::best_fit_int_type< TYPE_INDEX >::type | type |
struct etl::smallest_uint_for_value |
Template to determine the smallest unsigned int type that can contain the specified unsigned value. Defines 'type' which is the type of the smallest unsigned integer.
Template to determine the smallest unsigned int type that can contain the specified unsigned value. Defines 'type' which is the type of the smallest unsigned integer.
Public Types | |
typedef private_smallest::best_fit_uint_type< TYPE_INDEX >::type | type |
typedef private_smallest::best_fit_uint_type< TYPE_INDEX >::type | type |
struct etl::smallest_int_for_value |
Template to determine the smallest int type that can contain the specified signed value. Defines 'type' which is the type of the smallest signed integer.
Template to determine the smallest int type that can contain the specified signed value. Defines 'type' which is the type of the smallest signed integer.
Public Types | |
typedef private_smallest::best_fit_int_type< TYPE_INDEX >::type | type |
typedef private_smallest::best_fit_int_type< TYPE_INDEX >::type | type |
struct etl::smallest_type |
Template to determine the smallest type and size. Supports up to 16 types. Defines 'value_type' which is the type of the smallest parameter. Defines 'size' which is the size of the smallest parameter.
Public Types | |
enum | { size = sizeof(type) } |
typedef smallest_type< T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::type | smallest_other |
typedef choose_type<(sizeof(T1)< sizeof(smallest_other)), T1, smallest_other > ::type | type |