[v3 PATCH, RFC] Implement LWG 2729 for tuple

Jonathan Wakely jwakely@redhat.com
Wed Sep 21 09:43:00 GMT 2016


On 31/08/16 19:49 +0300, Ville Voutilainen wrote:
>@@ -338,6 +345,18 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
>       }
>     };
>
>+  template<typename...>
>+    struct __is_tuple_impl_trait_impl : false_type
>+  { };
>+
>+  template<std::size_t _Idx, typename... _Tp>
>+    struct __is_tuple_impl_trait_impl<_Tuple_impl<_Idx, _Tp...>> : true_type
>+  { };
>+
>+  template<typename _Tp>
>+    struct __is_tuple_impl_trait : public __is_tuple_impl_trait_impl<_Tp>
>+  { };

Please align the class bodies with the "struct" keyword here.

Otherwise OK for trunk, thanks.



More information about the Libstdc++ mailing list