Advanced Shared Library Features

Standard HP-UX Libraries and Header Files

Allocation Policies for Containers

For more information, see HP-UX Online Linker and Libraries User’s Guide.

HP aC++ Libraries

In addition to standard HP-UX system libraries, HP aC++ provides the following C++ libraries:

Standards Based Libraries

Standard C++ Library

HP C++ (cfront) Compatibility Library

IOStream Library

Standard C++ Library

The International Standards Organization (ISO) and the American National Standards Institute (ANSI) have standardized the C++ programming language. A result of this standardization process is the Standard C++ Library, a large and comprehensive collection of classes and functions.

Introduction

HP aC++ provides the Rogue Wave implementation of the ANSI/ISO Standard C++ Library. This implementation includes the following features:

A subset of data structures and algorithms, updated from the original library developed at Hewlett-Packard by Alex Stepanov and Meng Lee and known as the C++ Standard Template Library (STL)

NOTE: The public domain C++ Standard Template Library is not supported by this Standard C++ Library.

Technical Corrigenda 1 has changed the STL function make_pair to take their arguments by value instead of const reference. This change brings the HP library into compliance if the enabling macro -D__HP_TC1_MAKE_PAIRis specified at compile time. For binary compatibility reasons, the default behavior is unchanged.

A templatized string class

A templatized class for representing complex numbers.

A framework that describes the execution environment, using a template class, numeric_limits, and specializations for each fundamental data type

Memory management features

Language support features

Exception handling features

Introduction to Using the Standard C++ Library

Although the design of a large portion of the Standard C++ Library is, in many ways, not object-oriented, C++ excels as a language for manipulating objects. How do you integrate the non-object-oriented architecture of the library with the strengths of the language for manipulating objects?

176 Tools and Libraries