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

Using the Standard C++ Library
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
5-5
VERSION2
Using VERSION3 on Guardian, you should use the full name of the standard headers,
without truncating the name or using a .h file extension. The NonStop system
automatically performs truncation as necessary.
HP recommends that you also use the CPATHEQ pragma to specify the SLMAP file as
described in Pragmas for the Standard C++ Library on page 5-12. SLMAP contains
specific truncation rules for the header names that do not fit the standard.
The following 18 C-name headers are also part of the library, required as part of the
ANSI / ISO C++ Standard:
<cassert> <cctype> <cerrno> <cfloat> <ciso646> <climits> ·
<clocale> <cmath> <csetjmp> <csignal> <cstdarg> <cstddef> ·
<cstdio> <cstdlib> <cstring> <ctime> <cwchar> <cwctype>
The C-name headers include the "name.h" header files that are part of the C run-
time library and put the contents into the std namespace.
VERSION2
When VERSION2 is specified, the Standard C++ Library from Rogue Wave Software is
available. This library includes data structure and algorithm classes, plus string and
numeric limits, complex classes, and allocators.
The VERSION2 C++ Library includes:
A large set of data structures and algorithms formerly known as the Standard
Template Library (STL)
A locale facility
A templatized string class
A templatized complex class for representing complex numbers
A uniform framework for describing the execution environment through the use of a
template class named numeric_limits and specializations for each
fundamental data type
Memory management features
Language support features
Exception handling features
VERSION1
VERSION1 of the C++ Library includes the data structures and algorithm libraries and
the string, complex, and numeric_limits classes. VERSION1 does not include
templates or exception handling.