[Bug c++/30822] wrong choice of overloaded template functions in recursive call
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Feb 16 15:47:00 GMT 2007
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-02-16 15:47 -------
// now the order changed and the compiler complains!
I think GCC 4.1.x and above are doing the correct behavior with respect of the
C++ standard. The C++ standard has specific rules about namelookup in
templates which differs from what most people think they are as before GCC
4.1.x did not implement them and I think Microsoft's VS also still does not
implement them.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30822
More information about the Gcc-bugs
mailing list