https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69712
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |101603 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- clang rejects the code at C++14 with a similar error message as GCC but accepts it at C++17. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 [Bug 101603] [meta-bug] pointer to member functions issues