C/C++ Programmer's Guide (G06.25+)
Using the Standard C++ Library
HP C/C++ Programmer’s Guide for NonStop Systems—429301-008
5-4
Contents of the Standard C++ Library
Contents of the Standard C++ Library
VERSION3
For VERSION3, the Standard C++ Library ANSI/ISO/IEC is a port of the Dinkumware 
C++ Library, a conforming implementation of the Standard C++ library by P.J. Plauger. 
The library enforces the ISO/IEC IS 14882:1998(E) standard for C++, plus a number of 
fixes ratified by the C++ Standards Committee and documented in corrigenda before 
the NonStop VERSION3 code was developed and finalized.
A C++ program can call on a large number of functions from the Dinkum C++ Library 
that perform essential services such as input and output. These functions also provide 
efficient implementations of frequently used operations. Numerous function and class 
definitions accompany these functions to help you make better use of the library.
Information about the Standard C++ library can be found in the descriptions of the C++ 
library headers that declare or define library entities for the program. Also see the 
documentation for the library, the Standard Compliant C++ Library Reference, available 
on the NonStop user CD using the HP NonStop Technical Library (NTL).
There are two broad subdivisions of the Standard C++ headers: streams and the 
standard template library (STL).
The VERSION3 Standard C++ Library contains 36 C++ headers:
<algorithm>  <bitset> ·  <complex>  <deque>  <exception> <fstream> · 
<functional> <hash_map>  <hash_set> <iomanip> <ios>  <iosfwd> · 
<iostream> <istream>  <iterator>  <limits>  <list>  <locale> · 
<map> <memory> <new> <numeric> <ostream> <queue> · 
<set> <slist>  <sstream> <stack> <stdexcept> <streambuf> · 
<string> <strstream> <typeinfo> <utility> <valarray> <vector>
Migration tool To help customers move from C++ VERSION2 to C++ 
VERSION3, the migration tool generates warnings in the listing 
file where potential problems are found. The 
MIGRATION_CHECK pragma is described in 
MIGRATION_CHECK
 on page 13-63, and its output is 
described in Appendix F, MIGRATION_CHECK Messages.
Hash tables Although not part of the standard, HASH_SET, 
HAS_MULTISET, HASH_MAP, and HASH_MULTIMAP have 
been implemented in the HP NonStop C++ implementation.
Support for the neutral 
C++ dialect on H-series 
systems
Although not part of the standard, HP provides the features 
described in Using the Neutral C++ Dialect
 on page 5-13. 
These features take advantage of the repackaging of C++ 
objects on H-series systems into three library files so that a 
limited ability exists to create libraries that are not version 
dependent.
VERSION3 Feature Advantages (continued)










