units
Use physical dimensions at compile-time or run-time.
|
Smallest integer types for holding certain number of bits. More...
#include <int-types.hpp>
Public Types | |
using | US = typename int_types< NB+1 >::US |
Smallest unsigned integer. More... | |
using | SS = typename int_types< NB+1 >::SS |
Smallest signed integer. More... | |
using | UF = typename int_types< NB+1 >::UF |
Fastest unsigned integer. More... | |
using | SF = typename int_types< NB+1 >::SF |
Fastest signed integer. More... | |
Smallest integer types for holding certain number of bits.
Generic int_types refers to the int_types with the next-larger number of bits. The recursion ends with a terminal specialization: int_types<8>, int_types<16>, int_types<32>, or int_types<64>.
NB | Number of bits. |
Definition at line 21 of file int-types.hpp.
using vnix::int_types< NB >::SF = typename int_types<NB + 1>::SF |
Fastest signed integer.
Definition at line 26 of file int-types.hpp.
using vnix::int_types< NB >::SS = typename int_types<NB + 1>::SS |
Smallest signed integer.
Definition at line 24 of file int-types.hpp.
using vnix::int_types< NB >::UF = typename int_types<NB + 1>::UF |
Fastest unsigned integer.
Definition at line 25 of file int-types.hpp.
using vnix::int_types< NB >::US = typename int_types<NB + 1>::US |
Smallest unsigned integer.
Definition at line 23 of file int-types.hpp.