https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63662
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |--- --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I bet you need -std=c++1y . And also this feature is not fully there for GCC 4.9.