Re: [v3 PATCH] Implement the latest proposed resolution of LWG 2756

2016-08-18 Thread Jonathan Wakely
On 09/08/16 02:22 +0300, Ville Voutilainen wrote: Implement the latest proposed resolution of LWG 2756. * include/std/optional (Optional_base(const _Tp&)) (Optional_base(_Tp&&), using _Base::_Base): Remove. (optional(nullopt_t)): New. (optional(_Up&&)): Invoke base directly with in

[v3 PATCH] Implement the latest proposed resolution of LWG 2756

2016-08-08 Thread Ville Voutilainen
Tested on Linux-x64. The proposed resolution of the aforementioned issue hasn't been adopted by LWG yet, but it certainly makes much more sense than the previous resolution (disclaimer: I wrote both the previous and the latest p/r). Paolo, can you please review this patch? Jonathan is on holiday.