Definition in file underlying_value.hpp.
Go to the source code of this file.
#include <type_traits>
Namespaces | |
namespace | utils |
Utilities. | |
Functions | |
template<class T , std::enable_if_t< std::is_enum_v< T >, int > = 0> | |
constexpr auto | utils::UnderlyingValue (T v) noexcept |
Function that extracts integral value from enum or StrongTypedef. | |