Template Function Microsoft::XboxStudios::Bifrost::ToUnderlyingType

Function Documentation

template<typename T>
auto Microsoft::XboxStudios::Bifrost::ToUnderlyingType(T value) noexcept

Converts an enum class to its underlying type.

Template Parameters

T – The enum type.

Parameters

value – The value of the enum.

Returns

The enum value as its underlying type.