Re: [PATCH] LWG 2899 - Make is_move_constructible correct for unique_ptr

2019-05-17 Thread Jonathan Wakely
On 14/05/19 12:17 +0100, Jonathan Wakely wrote: * include/bits/unique_ptr.h (__uniq_ptr_impl): Add move constructor, move assignment operator. (__uniq_ptr_impl::release(), __uniq_ptr_impl::reset(pointer)): Add. (__uniq_ptr_data): New class template with conditional

[PATCH] LWG 2899 - Make is_move_constructible correct for unique_ptr

2019-05-14 Thread Jonathan Wakely
* include/bits/unique_ptr.h (__uniq_ptr_impl): Add move constructor, move assignment operator. (__uniq_ptr_impl::release(), __uniq_ptr_impl::reset(pointer)): Add. (__uniq_ptr_data): New class template with conditionally deleted special members. (uniq