22
General utilities library
[utilities]
22.2
Utility components
[utility]
22.2.8
Function template
to_
underlying
[utility.underlying]
🔗
template
<
class
T
>
constexpr
underlying_type_t
<
T
>
to_underlying
(
T value
)
noexcept
;
1
#
Returns
:
static_
cast
<
underlying_
type_
t
<
T
>
>
(
value
)
.