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