Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

smallest_int_for_value< VALUE > Struct Template Reference

smallest_int_for_value< VALUE > Struct Template Reference
[smallest]

Template to determine the smallest int type that can contain the specified signed value. More...

#include <smallest.h>


Detailed Description

template<const intmax_t VALUE>
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.

Definition at line 326 of file smallest.h.