Name

DEFECT_NO_IOSFWD_HEADER


Affected Systems-Compilers

Systems: all

Compilers: GNU C++ 2.7, SGI MipsPro 7.1nx


Description

The header iosfwd was introduced during the C++ standardization efforts. Its provides the correct (sometimes circuitous) forward declarations of all items in the iostreams library.


Work-Around

// For a forward declaration of class ostream

#if defined(DEFECT_NO_IOSFWD_HEADER)

class ostream ;

#else // Standard C++

#include <iosfwd>

#endif