Minimize <iosfwd>

Zack Weinberg
Mon Apr 9 21:32:00 GMT 2007

On 4/9/07, Paolo Carlini <> wrote:
> > thanks a lot for your work. While I take a bit of sleep, I would ask
> > you to check the contents  of <bits/c++locale.h>, which I don't think
> > can be dropped so easily.
> May well be ok, because we are already including it <bits/localefwd.h>,
> nice!, but really we should regtest well, and have a closer look to
> everything else...

I am running the tests you suggested now.  I am almost certain that
nothing from bits/c++locale.h is needed *by iosfwd itself* but I
hadn't thought to disable PCH, it's quite possible that some .cc files
or test cases need to be including <locale> or something...


More information about the Libstdc++ mailing list