|
tagval 0.2.0
Modern C++23 header-only library of tagged values (open/closed enumerations with metadata)
|
Compile-time entry. More...
#include <entry.hpp>
Public Types | |
| using | owner_t = Owner |
Static Public Attributes | |
| static constexpr auto | code = Code |
| static constexpr auto | label = Label |
| static constexpr auto | icon = Icon |
| static constexpr auto | color = Color |
Compile-time entry.
Subclass to declare a value:
struct Active : tagval::Entry<Status, "active", "Active",
"mdi:on", "#00ff00"> {};
Trailing metadata fields default to empty comms::FixedString values.
| using tagval::Entry< Owner, Code, Label, Icon, Color >::owner_t = Owner |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |