clang::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;


Return Value

the value as its underlying type.

Parameters

Name Description
value The enum value to convert

Created with MrDocs