diff options
-rw-r--r-- | libcxx/include/type_traits | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits index 26ed76e6e62..1aa4f66251b 100644 --- a/libcxx/include/type_traits +++ b/libcxx/include/type_traits @@ -1337,18 +1337,6 @@ public: template <class _A1, class _A2 = void, class _A3 = void> class __promote : public __promote_imp<_A1, _A2, _A3> {}; -#ifdef _LIBCPP_STORE_AS_OPTIMIZATION - -// __transform - -template <class _Tp, size_t = sizeof(_Tp), bool = is_scalar<_Tp>::value> struct __transform {typedef _Tp type;}; -template <class _Tp> struct __transform<_Tp, 1, true> {typedef unsigned char type;}; -template <class _Tp> struct __transform<_Tp, 2, true> {typedef unsigned short type;}; -template <class _Tp> struct __transform<_Tp, 4, true> {typedef unsigned int type;}; -template <class _Tp> struct __transform<_Tp, 8, true> {typedef unsigned long long type;}; - -#endif // _LIBCPP_STORE_AS_OPTIMIZATION - // make_signed / make_unsigned typedef |