This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3 PATCH, RFC] Implement LWG 2729 for tuple
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Ville Voutilainen <ville dot voutilainen at gmail dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Marc Glisse <marc dot glisse at inria dot fr>
- Date: Wed, 21 Sep 2016 10:43:12 +0100
- Subject: Re: [v3 PATCH, RFC] Implement LWG 2729 for tuple
- Authentication-results: sourceware.org; auth=none
- References: <CAFk2RUYZ5y1TJf5skg35zii_YqMj3dN+_o5AekFWngygKvY=Hg@mail.gmail.com> <CAFk2RUaQjKD8GOoism6e0PgAUw5+6WJZ751CUyaBoE_nU+uUeQ@mail.gmail.com> <CAFk2RUboRnmSwzU+h8LB-=2etHJxSGX=C0LM7acc_2+x=zOrfg@mail.gmail.com>
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.