|
tagval 0.2.0
Modern C++23 header-only library of tagged values (open/closed enumerations with metadata)
|
Compile-time tuple of Entry types belonging to a single Owner. More...
#include <values.hpp>
Public Types | |
| using | entries_t = std::tuple< Entries... > |
| using | owner_t = std::tuple_element_t< 0, entries_t >::owner_t |
Static Public Attributes | |
| template<typename E > | |
| static constexpr bool | contains = (std::same_as<E, Entries> || ...) |
| static constexpr std::size_t | size = sizeof...(Entries) |
Compile-time tuple of Entry types belonging to a single Owner.
using values_t = tagval::Values<Active, Inactive, Archived>;
| using tagval::Values< Entries >::entries_t = std::tuple<Entries...> |
| using tagval::Values< Entries >::owner_t = std::tuple_element_t<0, entries_t>::owner_t |
|
staticconstexpr |
|
staticconstexpr |