https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118624
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|1 |0 Status|NEW |UNCONFIRMED --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Maybe this is a clang issue. Because EDG and MSVC both reject it for the same reason as GCC. That is clang is not finding the method x in the out of class definition of the template function.