https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69736
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #1) > So has it ever been accepted with -std=c++1y? Otherwise it would probably > not be a regression... Yes, gcc-48 accepts this with -std=gnu++1y or -std=c++1y.