Re: [v3 PATCH] Implement std::optional.

2016-07-10 Thread Ville Voutilainen
On 10 July 2016 at 20:15, Jonathan Wakely wrote: > All the references to [X.Y.4] could refer to something sensible now, > as we know where it landed in the CD. Using stable names might be > better than instable clause numbers though. Every time I find a 20.a.b > refernce in our headers it's wrong

Re: [v3 PATCH] Implement std::optional.

2016-07-10 Thread Jonathan Wakely
On 07/07/16 13:00 +0300, Ville Voutilainen wrote: Implement std::optional. * include/Makefile.am: Add optional to exported headers. * include/Makefile.in: Likewise. * include/std/optional: New. All the references to [X.Y.4] could refer to something sensible now, as we know where it

[v3 PATCH] Implement std::optional.

2016-07-07 Thread Ville Voutilainen
Tested on Linux-x64. 2016-07-07 Ville Voutilainen Implement std::optional. * include/Makefile.am: Add optional to exported headers. * include/Makefile.in: Likewise. * include/std/optional: New. * testsuite/20_util/optional/typedefs.cc: Likewise. * testsuite/20_util/opti