egcs-1.0.3a: Bug with local classes in function templates
Alexandre Oliva
oliva@dcc.unicamp.br
Tue Jun 9 13:50:00 GMT 1998
Florian Weimer <fw@cygnus.stuttgart.netsurf.de> writes:
> #include <vector>
> main () { vector<int&> vec; int i = 1; vec.push_back(i); }
The May 30 snapshot prints lots of error messages, as expected. You
can't create containers of reference types.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
More information about the Gcc-bugs
mailing list