------- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-27 00:04 ------- This is actually expected, you want: f.template Func<0>();
Since f is dependent, we are not expecting Func to be a template so it parses as a non template and then errors out as a<0 > () is invalid for anything except a template. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25110