mrdocs::to_underlying
Return the value as its underlying type.
Synopsis
Declared in <mrdocs/Support/TypeTraits.hpp>
template<class Enum>
requires std::is_enum_v<Enum>
constexpr
std::underlying_type_t<Enum>
to_underlying(Enum value) noexcept;
Parameters
| Name | Description |
|---|---|
value |
The enum value to convert |
Created with MrDocs