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). | |
![]() | |
constexpr auto | name () const noexcept |
Returns the name of the constant as a string. | |
![]() | |
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 | |
![]() | |
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.