|
Embedded Template Library
1.0
|
#include <smallest.h>
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 |
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.