1 | #ifndef _LIBCPP_TYPE_TRAITS |
---|---|
2 | #define _LIBCPP_TYPE_TRAITS |
3 | |
4 | template <class _Tp> |
5 | struct underlying_type |
6 | { |
7 | typedef __underlying_type(_Tp) type; |
8 | }; |
9 | |
10 | #endif // _LIBCPP_TYPE_TRAITS |
11 |
1 | #ifndef _LIBCPP_TYPE_TRAITS |
---|---|
2 | #define _LIBCPP_TYPE_TRAITS |
3 | |
4 | template <class _Tp> |
5 | struct underlying_type |
6 | { |
7 | typedef __underlying_type(_Tp) type; |
8 | }; |
9 | |
10 | #endif // _LIBCPP_TYPE_TRAITS |
11 |