4
General utilities library
[utilities]
4.2
Utility components
[utility]
4.2.2
underlying
[utility.underlying]
🔗
template
<
class
Enum
>
constexpr
std
::
underlying_type_t
<
Enum
>
underlying
(
Enum e
)
noexcept
;
1
#
Constraints:
std
::
is_enum_v
<
Enum
>
is
true
.
2
#
Returns:
static_cast
<
std
::
underlying_type_t
<
Enum
>
>
(
e
)
.