------- Comment #2 from pinskia at gcc dot gnu dot org 2007-03-05 18:31 ------- Actually this is not a bug. The overloaded set for foo in doit is only the template foo and nothing else.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|GCC 4.1.1 has template bug |GCC 4.1.1 has template bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31047