My Project
underlying_type.hpp
Go to the documentation of this file.
1 
28 #ifndef BSL_UNDERLYING_TYPE_HPP
29 #define BSL_UNDERLYING_TYPE_HPP
30 
31 namespace bsl
32 {
44  template<typename T>
45  struct underlying_type final
46  {
48  using type = __underlying_type(T);
49  };
50 
52  template<typename T>
54 }
55 
56 #endif
typename underlying_type< T >::type underlying_type_t
a helper that reduces the verbosity of bsl::underlying_type
Definition: underlying_type.hpp:53
If T is a complete enumeration type, provides a member typedef type that names the underlying type of...
Definition: underlying_type.hpp:45
__underlying_type(T) type
provides the member typedef "type"
Definition: underlying_type.hpp:48