|
tagval 0.2.0
Modern C++23 header-only library of tagged values (open/closed enumerations with metadata)
|
ClosedEnded base — values come from a compile-time Values<...> list.
More...
#include <tagval/base.hpp>#include <tagval/entry.hpp>#include <tagval/open_ended.hpp>#include <tagval/values.hpp>#include <commons/fixed_string.hpp>#include <expected>#include <span>#include <string_view>
Include dependency graph for closed_ended.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | tagval::ClosedEnded< Id, Derived > |
| CRTP base for tag-value kinds whose values are fixed at compile time. More... | |
Namespaces | |
| namespace | tagval |
ClosedEnded base — values come from a compile-time Values<...> list.
Required Derived shape:
tagval::ClosedEnded<"id", Derived>.using values_t = tagval::Values<E1, E2, ...> listing every entry; each E_i must be a tagval::Entry whose owner_t is Derived.