Re: [v3 PATCH] Implement LWG 2729 for pair.

2016-09-26 Thread Ville Voutilainen
On 27 September 2016 at 03:21, Ville Voutilainen wrote: > On 27 September 2016 at 03:16, Christophe Lyon > wrote: >> 20_util/declval/requirements/1_neg.cc (test for errors, line 2263) >> 20_util/declval/requirements/1_neg.cc (test for excess errors) >> 20_util/make_signed/requirements/type

Re: [v3 PATCH] Implement LWG 2729 for pair.

2016-09-26 Thread Ville Voutilainen
On 27 September 2016 at 03:16, Christophe Lyon wrote: > 20_util/declval/requirements/1_neg.cc (test for errors, line 2263) > 20_util/declval/requirements/1_neg.cc (test for excess errors) > 20_util/make_signed/requirements/typedefs_neg.cc (test for errors, line > 1928) > 20_util/make_si

Re: [v3 PATCH] Implement LWG 2729 for pair.

2016-09-26 Thread Christophe Lyon
Hi, On 26 September 2016 at 14:54, Jonathan Wakely wrote: > On 24/09/16 21:13 +0300, Ville Voutilainen wrote: >> >> So, this has been applied to trunk, and also applies cleanly to the >> gcc-6 branch, and we need >> to backport it to fix PR libstdc++/77537. Ok for the gcc-6 branch? > > > Yes, OK

Re: [v3 PATCH] Implement LWG 2729 for pair.

2016-09-26 Thread Jonathan Wakely
On 24/09/16 21:13 +0300, Ville Voutilainen wrote: So, this has been applied to trunk, and also applies cleanly to the gcc-6 branch, and we need to backport it to fix PR libstdc++/77537. Ok for the gcc-6 branch? Yes, OK for gcc-6-branch too, as it fixes a regression since 5.x

Re: [v3 PATCH] Implement LWG 2729 for pair.

2016-09-24 Thread Ville Voutilainen
On 21 September 2016 at 13:33, Jonathan Wakely wrote: > This patch predates my testsuite changes, so this should now be > { dg-do compile { target c++11 } } > Otherwise OK for trunk, thanks. So, this has been applied to trunk, and also applies cleanly to the gcc-6 branch, and we need to backport

Re: [v3 PATCH] Implement LWG 2729 for pair.

2016-09-21 Thread Jonathan Wakely
On 17/08/16 07:41 +0300, Ville Voutilainen wrote: Implement LWG 2729 for pair. * include/bits/stl_pair.h (_PCC): New. (_ConstructiblePair, _ImplicitlyConvertiblePair): Turn into static member functions of _PCC. (_MoveConstructiblePair, _ImplicitlyMoveConvertiblePair): Likewise.

[v3 PATCH] Implement LWG 2729 for pair.

2016-08-16 Thread Ville Voutilainen
Tested on Linux-PPC64. 2016-08-16 Ville Voutilainen Implement LWG 2729 for pair. * include/bits/stl_pair.h (_PCC): New. (_ConstructiblePair, _ImplicitlyConvertiblePair): Turn into static member functions of _PCC. (_MoveConstructiblePair, _ImplicitlyMoveConvertiblePair): Lik