repr 0.1
Reconstructable string representations and more
|
#include <accessor.h>
Public Types | |
using | structure = Structure |
using | underlying = std::underlying_type_t< T > |
Static Public Member Functions | |
template<std::size_t Idx = 0> requires (Kind == EnumKind::Linear) | |
static constexpr std::string_view | search_name (underlying value) |
static std::string_view | search_name (underlying value) |
static std::string_view | search_name (underlying) |
static constexpr std::string_view | get_name (T value) |
static constexpr auto | get_names () |
static constexpr auto | get_names () |
Static Public Attributes | |
static constexpr auto | kind = Kind |
static constexpr auto | names = get_enum_names() |
using librepr::ctei::Accessor< T, Kind, Structure >::structure = Structure |
using librepr::ctei::Accessor< T, Kind, Structure >::underlying = std::underlying_type_t<T> |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestatic |
|
inlinestatic |
|
staticconstexpr |
|
staticconstexpr |