|
Embedded Template Library
1.0
|
#include <largest.h>
Public Types | |
| enum | { size = sizeof(type) } |
|
typedef largest_type< T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 > ::type | largest_other |
|
typedef choose_type<(sizeof(T1) > sizeof(largest_other)), T1, largest_other >::type | type |
Template to determine the largest type and size. Supports up to 16 types. Defines 'value_type' which is the type of the largest parameter. Defines 'size' which is the size of the largest parameter.