5 #ifndef VCCC_UTILITY_TO_UNDERLYING_HPP
6 #define VCCC_UTILITY_TO_UNDERLYING_HPP
22 template<
typename Enum>
23 constexpr std::underlying_type_t<Enum>&
as_const(Enum
e) noexcept {
24 return static_cast<std::underlying_type_t<Enum>
>(
e);
constexpr T e
the mathematical constant
Definition: constants.hpp:37
constexpr std::add_const_t< T > & as_const(T &t) noexcept
obtains a reference to const to its argument
Definition: as_const.hpp:23
Definition: directory.h:12