Re: [libstdc++ PATCH] Implement __is_nothrow_swappable and use it

2015-06-05 Thread Jonathan Wakely
On 01/05/15 12:47 +0300, Ville Voutilainen wrote: This patch partially solves the problem described in N4426, which is basically LWG issue 2456, which in turn is caused by CWG DR 1330. Some remarks: - the __is_swappable and __is_nothrow_swappable are at this time not meant to be general traits, t

Re: [libstdc++ PATCH] Implement __is_nothrow_swappable and use it

2015-05-01 Thread Ville Voutilainen
On 1 May 2015 at 12:47, Ville Voutilainen wrote: > This patch partially solves the problem described in N4426, which is > basically LWG > issue 2456, which in turn is caused by CWG DR 1330. Some remarks: ..and I forgot to mention that it fixes PR 63860.

[libstdc++ PATCH] Implement __is_nothrow_swappable and use it

2015-05-01 Thread Ville Voutilainen
This patch partially solves the problem described in N4426, which is basically LWG issue 2456, which in turn is caused by CWG DR 1330. Some remarks: - the __is_swappable and __is_nothrow_swappable are at this time not meant to be general traits, they make the shortcut of automatically transforming