gcc bug?

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Thu Sep 30 19:57:00 GMT 1999


> Is this a bug?

It looks like one to me. The compiler tries to find out what template
the specialization belongs to. In the process, it instantiates all
kinds of templates, in particular revserse_iterator<int>. That gives
an error.

Of course, instantiation should just fail, instead.

Regards,
Martin



More information about the Gcc-bugs mailing list