------- Comment #1 from pinskia at gcc dot gnu dot org  2008-01-29 21:59 -------
You want:

    f.template bar<3>(0);    // doesn't work here
    f.emplate moo<int>(0);  // doesn't work here

Since f is dependent, the parser cannot figure out if f.bar and f.moo are a
template or not when it is parsing so you have to help it.  This extra keyword
is required by the standard.


-- 

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

Reply via email to