C++ Migration Guide

Rogue Wave Tools.h++

The Sun C++ 4.2 compiler was delivered with Rogue Wave Tools.h++ Version 7 as the default, and with Tools.h++ Version 6 for compatibility with earlier compiler releases.

The C++ 5.0 compiler does not provide Tools.h++ Version 6; it supplies Tools.h++ Version 7. Tools.h++ Version 7 is the default for the C++ 5.0 compiler in both compatibility mode and standard mode.

The Rogue Wave Tools.h++ version 7 library is built with classic iostreams. Therefore, when you include the Rogue Wave tools library in standard mode, you must also include libiostream. However, you must be careful to not use the old and new forms of iostreams--including the standard input and output streams cin, cout, and cerr--in the same program. Doing so can cause severe problems and is not recommended.

To use the Rogue Wave Tools.h libraries in standard mode, use the following compiler option:

To use the Rogue Wave Tools.h libraries in compatibility mode, use the following compiler option:

Refer to C++ User's Guide or the CC.1 man page for more information about accessing Tools.h++.