Template Function urcl::toUnderlying

Function Documentation

template<typename E>
constexpr std::underlying_type<E>::type urcl::toUnderlying(const E e) noexcept

Converts an enum type to its underlying type.

Parameters:

e – Enum value that should be converted

Returns:

Enum value converted to underlying type