------- 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