https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84930
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-28 CC| |msebor at gcc dot gnu.org Component|c++ |libstdc++ Ever confirmed|0 |1 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- I can confirm that GCC rejects the example and Clang accepts it but I don't know if that's because of a bug/missing feature in GCC or libstdc++ or an extension in Clang or libc++. Let me set the component to libstdc++ and let Jonathan adjust it if/as necessary.