g++-20001127: bug with forward declaration and vector

Alexandre Oliva aoliva@redhat.com
Fri Dec 8 13:19:00 GMT 2000

On Dec  8, 2000, Laurent Bonnaud <Laurent.Bonnaud@inpg.fr> wrote:

> bug-g++-fwd.cc:12: parse error before '&' token

> void f(const vector<foo*>& bar);

Try std::vector

Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

More information about the Gcc-bugs mailing list