Type erasure for instantiations of enum_value from a specified library. More...
#include <eagine/enum_class.hpp>
Public Member Functions | |
| constexpr | any_enum_value () noexcept=default |
| Default constructor. | |
| template<typename Self , typename T , identifier_t Id> | |
| constexpr | any_enum_value (enum_class< Self, T, LibId, Id > v) noexcept |
| Construction from enum_class from the same "library" or API. | |
| constexpr | operator bool () const noexcept |
| Indicates if this value has a valid enumeration class. | |
Friends | |
| auto | operator== (const any_enum_value &a, const any_enum_value &b) noexcept |
| Equality comparison. | |
| auto | operator!= (const any_enum_value &a, const any_enum_value &b) noexcept |
| Nonequality comparison. | |
Type erasure for instantiations of enum_value from a specified library.
| LibId | unique identifier of a "library" or API the enums belong to. |