This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3 PATCH, RFC] Implement LWG 2729 for tuple


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]