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

2016-09-21 Thread Jonathan Wakely
On 31/08/16 19:49 +0300, Ville Voutilainen wrote: @@ -338,6 +345,18 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION } }; + template +struct __is_tuple_impl_trait_impl : false_type + { }; + + template +struct __is_tuple_impl_trait_impl<_Tuple_impl<_Idx, _Tp...>> : true_type + { }; + +

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

2016-08-31 Thread Ville Voutilainen
On 31 August 2016 at 18:40, Ville Voutilainen wrote: > Now tested with the full testsuite on Linux-PPC64, test in the patch > amended slightly. > New patch attached. I added some more torture to the new test and re-indented it. diff --git a/libstdc++-v3/include/std/tuple b/libstdc++-v3/include/st

[v3 PATCH, RFC] Implement LWG 2729 for tuple

2016-08-30 Thread Ville Voutilainen
First, pardons all around if I'm completely repeating what Marc already tried to do. I think I'm taking a different approach. I'm not adding any defaulted or deleted functions, so I don't think I'm changing triviality. Chances are I need to actually delete the copy operations I want to get rid of,