Re: [v3 PATCH] Implement LWG 2900, The copy and move constructors of optional are not constexpr.

2017-03-28 Thread Jonathan Wakely
On 17/03/17 16:51 +0200, Ville Voutilainen wrote: diff --git a/libstdc++-v3/include/std/optional b/libstdc++-v3/include/std/optional index 3f540ec..e67ba89 100644 --- a/libstdc++-v3/include/std/optional +++ b/libstdc++-v3/include/std/optional @@ -95,125 +95,127 @@

[v3 PATCH] Implement LWG 2900, The copy and move constructors of optional are not constexpr.

2017-03-17 Thread Ville Voutilainen
Tested on Linux-x64. 2017-03-17 Ville Voutilainen Implement LWG 2900, The copy and move constructors of optional are not constexpr. * include/std/optional (_Optional_payload): New. (_Optional_base): Remove the bool parameter.