diff options
Diffstat (limited to 'libcxx/include/__tuple/tuple_like_ext.h')
-rw-r--r-- | libcxx/include/__tuple/tuple_like_ext.h | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/libcxx/include/__tuple/tuple_like_ext.h b/libcxx/include/__tuple/tuple_like_ext.h index 36f5c48..0cc21e0 100644 --- a/libcxx/include/__tuple/tuple_like_ext.h +++ b/libcxx/include/__tuple/tuple_like_ext.h @@ -23,21 +23,29 @@ _LIBCPP_BEGIN_NAMESPACE_STD -template <class _Tp> struct __tuple_like_ext : false_type {}; +template <class _Tp> +struct __tuple_like_ext : false_type {}; -template <class _Tp> struct __tuple_like_ext<const _Tp> : public __tuple_like_ext<_Tp> {}; -template <class _Tp> struct __tuple_like_ext<volatile _Tp> : public __tuple_like_ext<_Tp> {}; -template <class _Tp> struct __tuple_like_ext<const volatile _Tp> : public __tuple_like_ext<_Tp> {}; +template <class _Tp> +struct __tuple_like_ext<const _Tp> : public __tuple_like_ext<_Tp> {}; +template <class _Tp> +struct __tuple_like_ext<volatile _Tp> : public __tuple_like_ext<_Tp> {}; +template <class _Tp> +struct __tuple_like_ext<const volatile _Tp> : public __tuple_like_ext<_Tp> {}; #ifndef _LIBCPP_CXX03_LANG -template <class... _Tp> struct __tuple_like_ext<tuple<_Tp...> > : true_type {}; +template <class... _Tp> +struct __tuple_like_ext<tuple<_Tp...> > : true_type {}; #endif -template <class _T1, class _T2> struct __tuple_like_ext<pair<_T1, _T2> > : true_type {}; +template <class _T1, class _T2> +struct __tuple_like_ext<pair<_T1, _T2> > : true_type {}; -template <class _Tp, size_t _Size> struct __tuple_like_ext<array<_Tp, _Size> > : true_type {}; +template <class _Tp, size_t _Size> +struct __tuple_like_ext<array<_Tp, _Size> > : true_type {}; -template <class... _Tp> struct __tuple_like_ext<__tuple_types<_Tp...> > : true_type {}; +template <class... _Tp> +struct __tuple_like_ext<__tuple_types<_Tp...> > : true_type {}; _LIBCPP_END_NAMESPACE_STD |