------- Comment #6 from pinskia at gcc dot gnu dot org 2008-03-31 00:16 ------- So what is happening is we are not applying the attribute while doing overload resolution so we reject the template function then. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35758