https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79442
Ose Pedro <osemwaro.pedro at ocado dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #5 from Ose Pedro <osemwaro.pedro at ocado dot com> --- (In reply to Jonathan Wakely from comment #4) > (In reply to Ose Pedro from comment #0) > > GCC 5 is supposed to provide full support for N3652, but the code below does > > not compile under GCC 5.4 (it does, however, compile under GCC 6.1). > > It compiles fine using any 5.x release, even 5.1.0, what error do you get? > > You need to use -std=gnu++14 or -std=c++14, because N3652 is a C++14 feature. > > I don't see a problem with the C++ status page. Oh sorry, my mistake - I was using an online compiler, and I wrongly assumed that it had enabled c++14.