This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Standard header format.
----- Original Message -----
From: "Steven T. Hatton" <hattons@globalsymmetry.com>
> I can understand that it would probably be difficult to refactor libstdc++
to
> provide that interface. If it's too difficult, then say so. If you don't
> believe what I'm suggesting would work, then say that. So far the only
> argument you've given has been that I don't understand what the Standard
> specifies, and that I don't understand a rather vague statement in
> TC++PL(SE).
It is not possible to have an implementation that uses exactly the set of
headers shown in the standard. For one thing, there are some circular
references that forces you to either split the code into more files, or to
use some very implementation specific tricks.
Also, there are additional semantic requirements not given in the header
synopsis in the standard dcoument, but only in the text. For example some
templates behave differently if the actual template parameters are integers
or iterators.
Bo Persson