[Bug c++/17238] explicit qualification of member template is rejected

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Mon Aug 30 11:37:00 GMT 2004


------- Additional Comments From bangerth at dealii dot org  2004-08-30 11:37 -------
Huh? The error message says it all: 
 x.cc: In function `int main(int, char**)': 
 x.cc:34: error: `template' (as a disambiguator) is only allowed within 
   templates 
You need to write 
  *t.lire<string>(); 
i.e. drop the 'template'. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17238



More information about the Gcc-bugs mailing list