red floyd <[EMAIL PROTECTED]> writes: > > My question is is it a standard behavior ? Should string.h be > > included in iostream ? > > > > I believe that's implementation dependent. Your code, as posted, is > ill-formed (index is undefined). As far as I can see, ISO/IEC > 14882:2003 provides no guarantees as to what nested includes are in > any standard header (hence the technical need to include <ostream> for > cout).
The more interesting question is if it is even legal to clutter the global namespace with such identifiers - let alone all the macros dragged in. -- Cheers, Jens _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus