libjmmcg
build_2783
A C++ library containing an eclectic mix of useful, advanced components.
|
#include <enum_as_char_array.hpp>
Public Types | |
enum | : std::size_t { size =private_::count_digits<EnumT, t>::value } |
enum | : typename std::underlying_type< EnumT >::type { value_as_int =static_cast<typename std::underlying_type<EnumT>::type>(t) } |
using | const_element_type = const char[size] |
The type of the const char-array of the extracted string. More... | |
using | element_type = char[size] |
The type of the char-array of the extracted string. More... | |
Static Public Attributes | |
static constexpr EnumT | tag =t |
static constexpr const_element_type | value |
The array of chars extracted from the enum-tag. More... | |
Definition at line 338 of file enum_as_char_array.hpp.
using jmmcg::enum_tags::mpl::to_array< EnumT, t, 5u >::const_element_type = const char [size] |
The type of the const char-array of the extracted string.
Definition at line 345 of file enum_as_char_array.hpp.
using jmmcg::enum_tags::mpl::to_array< EnumT, t, 5u >::element_type = char [size] |
The type of the char-array of the extracted string.
Definition at line 346 of file enum_as_char_array.hpp.
anonymous enum : std::size_t |
Enumerator | |
---|---|
size |
Definition at line 339 of file enum_as_char_array.hpp.
anonymous enum : typename std::underlying_type< EnumT >::type |
Enumerator | |
---|---|
value_as_int |
Definition at line 342 of file enum_as_char_array.hpp.
|
staticconstexpr |
The enum-tag associated the with the encoded string.
Definition at line 347 of file enum_as_char_array.hpp.
|
staticconstexpr |
The array of chars extracted from the enum-tag.
Definition at line 349 of file enum_as_char_array.hpp.