C/C++ Programmer's Guide (G06.25+)

HP C/C++ Programmer’s Guide for NonStop Systems429301-008
6-1
6
Accessing Middleware Using HP C
and C++ for NonStop Systems
Using Tools.h++
°
User Documentation on page 6-2
°
Contents of the Tools.h++ Class Library (Version 7) on page 6-2
°
Migration Considerations for Version 7 on page 6-2
°
Installation Notes on page 6-3
°
Including Header Files for Tools.h++ on page 6-4
°
XDR Streams on page 6-4
°
Tools.h++ Example Files for Versions 6.1 and 7 on page 6-4
°
Pragmas for Tools.h++ on page 6-6
Information about using NonStop SQL/MP and NonStop SQL/MX, which previously
appeared in this section, is now contained only in the following manuals:
SQL/MP Programming Manual for C
SQL/MX Programming Manual for C and COBOL
Using Tools.h++
The Tools.h++ class library is a C++ foundation class library, an industry standard
available in the Guardian environment, in the OSS environment, and on the PC
(Windows environment).
Two versions of Tools.h++ (version 7 and version 6.1) have been available since the
D45 and G05 releases. Only version 7 is available on H-series systems. Migration
information is available in Chapter 11, “Collection Class Templates,” of the Tools.h++
User’s Guide for version 7.0. A summary is also available in Migration Considerations
for Version 7 on page 6-2.
Using Tools.h++ with the Standard C++ Library:
You can use Tools.h++ version 6.1 only with VERSION1 of the run-time library.
You can use Tools.h++ version 7 only with VERSION2 of the Standard C++ Library.
You cannot use any version of Tools.h++ with the VERSION3 Standard C++ Library,
ISO/IEC 98, released at G06.20. However, much of the functionality of Tools.h++ is
available in the VERSION3 Standard C++ Library or can be easily built using
components in VERSION3. For example, RWCString can be recoded using
string. The Smalltalk collection is not directly supported in VERSION3, but can
be coded by the user or ported from third-party software or open source.