Class wrapping a constant with missing or unknown value. More...
#include <eagine/c_api_wrap.hpp>
Public Member Functions | |
| template<typename I > | |
| constexpr auto | operator+ (I) const noexcept -> std::enable_if_t<(IsIndexed &&std::is_integral_v< I >), no_enum_value< T, Tag >> |
| Adds the specified value to the constant (it it IsIndexed). | |
Public Member Functions inherited from eagine::c_api_constant_base | |
| constexpr auto | name () const noexcept |
| Returns the name of the constant as a string. | |
Public Member Functions inherited from eagine::no_enum_value< T, nothing_t > | |
| constexpr | operator T () const noexcept |
| Explicit conversion to the value type. | |
| constexpr | operator bool () const noexcept |
| Indicates whether the value is valid or not (always false here). | |
Additional Inherited Members | |
Public Types inherited from eagine::no_enum_value< T, nothing_t > | |
| using | value_type = T |
| The constant or enumerator value type. | |
| using | tag_type = nothing_t |
| The tag type specified as template argument. | |
Class wrapping a constant with missing or unknown value.