Compiler bug?

Gabriel Dos Reis gdr@integrable-solutions.net
Sat Apr 12 15:25:00 GMT 2003


Gabriel Dos Reis <gdr@integrable-solutions.net> writes:

[...]

| So, therefore, the program is ill-formed andthe bug is in the wording
| of the diagnostic.

I had a discussion with Jason yesterday, he thinks that the compiler
should define any nested classes.

We'll then need to update the doc which currently says:

   g++ has extended the template instantiation syntax outlined in the
   Working Paper to allow forward declaration of explicit instantiations
   (with @code{extern}), instantiation of the compiler support data for a
   template class (i.e.@: the vtable) without instantiating any of its
   members (with @code{inline}), and instantiation of only the static data
   members of a template class, without the support data or member
   functions (with (@code{static}):

-- Gaby



More information about the Libstdc++ mailing list