![]() |
Project
|
Classes | |
struct | NumberOfActiveBits |
get the number of active bits (set to 1) in a bitfield More... | |
struct | NumberOfActiveBits< 0 > |
struct | TraitsIntType |
select uint type depending on size, default is uint64_t More... | |
struct | TraitsIntType< 1 > |
struct | TraitsIntType< 2 > |
struct | TraitsIntType< 4 > |
Functions | |
template<typename T > | |
constexpr T | String2__ () |
template<typename T , typename... Targs> | |
constexpr T | String2__ (char c, Targs... Fargs) |
template<typename T , int N> | |
constexpr int | ArraySize () |
evaluate the array size necessary to hold a N-byte number with type T | |
template<int N> | |
constexpr std::size_t | strLength (const char(&str)[N], std::size_t pos=0) |
evaluate the array size necessary to hold a N-byte number with type T
Definition at line 126 of file DataHeader.h.
|
constexpr |
Definition at line 103 of file DataHeader.h.
|
constexpr |
Definition at line 109 of file DataHeader.h.
|
constexpr |
compile time evaluation of a string length, which is either N - 1 or shorter if one character in the array has been set to 0.
Definition at line 152 of file DataHeader.h.