On Thu, Nov 08, 2007 at 09:41:33PM +0100, Enrico Forestieri wrote: > > Because it voids 30% of the effect of having strfwd.h at all and it is > > not needed here and therefore probably on ~100% of the Linux systems out > > there. > > Even if that doesn't matter for you, there are other systems than > Linux out there and doing things the standard way usually helps.
The Standard says how basic_istream<> etc should be defined. It does not mandate that #include <iosfwd> is the only way to get it. Doing it 'by hand' is as legal even if less convienient than the #include. Andre'