This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 971031: template problem
- To: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Subject: Re: 971031: template problem
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 05 Nov 1997 23:20:20 -0200
- Cc: Jay Sachs <sachs at bull dot cs dot williams dot edu>, egcs-bugs at cygnus dot com
- References: <Pine.SUN.3.96.971105103759.5493G-100000@sallust>
Dirk Herrmann writes:
> Thank you for your answer. This fixes the problem, although I still don't
> understand why you can just write set&, without any template params.
Inside a class template definition, the template-name is to be treated
as a class-name, whose type corresponds to the current template
specialization.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil