Template Function rcppsw::as_underlying

Function Documentation

template<typename TEnum>
constexpr std::underlying_type<TEnum>::type rcppsw::as_underlying(const TEnum &e) noexcept

Get the value of a strongly typed enum as its underlying type.