Template Function iox::cxx::enumTypeAsUnderlyingType

Function Documentation

template<typename enum_type>
auto iox::cxx::enumTypeAsUnderlyingType(enum_type const value) noexcept -> typename std::underlying_type<enum_type>::type

cast an enum to its underlying type