Re: [v3 PATCH] Implement N4089 and N4387

2015-08-07 Thread Jonathan Wakely
On 20/07/15 00:28 +0300, Ville Voutilainen wrote: Implement N4089 Safe conversions in unique_ptr (LWG 2118) and N4366 LWG 2228: Missing SFINAE rule in unique_ptr templated assignment * include/bits/unique_ptr.h (__remove_cv, __is_derived_Tp): Remove. (default_delete::default_del

Re: [v3 PATCH] Implement N4089 and N4387

2015-07-19 Thread Ville Voutilainen
On 19 July 2015 at 20:14, Ville Voutilainen wrote: > On 19 July 2015 at 20:13, Ville Voutilainen > wrote: >> Minor changelog fix, the single-pointer functions aren't constrained with >> array compatibility, but with deleter compatibility. > > And that should be single-object, not single-pointer,

Re: [v3 PATCH] Implement N4089 and N4387

2015-07-19 Thread Ville Voutilainen
On 19 July 2015 at 20:13, Ville Voutilainen wrote: > Minor changelog fix, the single-pointer functions aren't constrained with > array compatibility, but with deleter compatibility. And that should be single-object, not single-pointer, not that it has any effect on the corrected changelog. :)

Re: [v3 PATCH] Implement N4089 and N4387

2015-07-19 Thread Ville Voutilainen
On 19 July 2015 at 19:56, Ville Voutilainen wrote: > Tested on Linux-PPC64. > > 2015-07-19 Ville Voutilainen > Implement N4089 Safe conversions in unique_ptr (LWG 2118) > and N4387 LWG 2228: Missing SFINAE rule in unique_ptr > templated assignment > * include/bits/unique_ptr.h >

[v3 PATCH] Implement N4089 and N4387

2015-07-19 Thread Ville Voutilainen
Tested on Linux-PPC64. 2015-07-19 Ville Voutilainen Implement N4089 Safe conversions in unique_ptr (LWG 2118) and N4387 LWG 2228: Missing SFINAE rule in unique_ptr templated assignment * include/bits/unique_ptr.h (__remove_cv, __is_derived_Tp): Remove. (default_delete::d