Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

smallest_int_for_bits< NBITS > Struct Template Reference

smallest_int_for_bits< NBITS > Struct Template Reference
[smallest]

Template to determine the smallest signed int type that can contain a value with the specified number of bits. More...

#include <smallest.h>


Detailed Description

template<const size_t NBITS>
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.

Definition at line 284 of file smallest.h.