HP C++ User Documentation


HP C++

HP C++

Class Library Reference Manual

Order Number: AA-PM9XD-TE

January 2005

This document describes a library of C++ classes.

Revision/Update Information: This is a revised manual.

Software Version: C++ Version 5.3 or later

C++ Class Library Version 4.0

Hewlett-Packard Company Palo Alto, California

First Printing, September 1992
Revised, January 2005

© Copyright 2005 Hewlett-Packard Development Company, L.P.

Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license.

The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.

UNIX® is a registered trademark of The Open Group.

X/Open® is a registered trademark of X/Open Company Ltd. in the UK and other countries.

Intel® and Itanium® are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

This document is available on CD-ROM.

Contents Index


This manual describes the library of classes supplied with C++ Version 7.1 for Tru64 systems. It contains detailed information on members of these classes (including member functions) and information on other associated functions, variables, and macros.

Intended Audience

This manual is intended for experienced programmers who have a basic understanding of the C++ language, and who are using C++ with the Tru64 operating system in either a single or multiple platform environment. Some familiarity with the operating system is assumed.

Document Structure

This manual consists of an introductory chapter and 10 chapters describing each of the packages of predefined classes supplied with the C++ compiler.

C++ Documents

The following documents are provided in the C++ documentation set:

Stroustrup, The C++ Programming Language, 3rd Edition, Addison-Wesley, 1997 Provides an exhaustive introduction to the C++ programming language, and includes the text but not the annotation of The Annotated C++ Reference Manual.
Using HP C++ for OpenVMS Systems Describes the specifics of HP's C++ implementation.
Compaq C++ Installation Guide for Tru64 UNIX Describes how to install C++ on your system.
C++ Command Reference Pages Provides references for C++ commands and libraries.
Musser and Saini, STL Tutorial and Reference Guide, Addison-Wesley, 1995 Describes how to use the Standard Templates Library (STL).

Related Documents

The following documents are not included in the C++ documentation set; refer to them for additional information about the C++ programming language, C.

The Annotated C++ Reference Manual Contains the definitive language description of C++. The core text is the same as in the "r" section of The C++ Programming Language, 2nd Edition, but with additional annotation and commentary.
C Language Reference Manual Provides a complete technical description of the C language, as specified by the ANSI X3J11 committee. This manual also fully describes all extensions to this standard implemented in C.


Table 1 lists the conventions used in this manual.

Table 1 Conventions Used in this Manual
Convention Description
class complex {
A vertical ellipsis indicates that some intervening program code or output is not shown. Only the more pertinent material is shown in the example.
,... A horizontal ellipsis in a syntax description indicates that you can enter additional parameters, options, or values. A comma preceding the ellipsis indicates that successive items must be separated by commas.
The complex class...
The get() function...
Monospaced type denotes the names of C++ language elements, and also the names of classes, members, and nonmembers. Monospaced type is also used in text to reference code elements displayed in examples.
italic Italic type denotes the names of variables that appear as parameters or in arguments to functions.
boldface Boldface type in text indicates the first instance of terms defined in text.

Reader's Comments

You may send your comments or suggestions regarding this manual, or any C++ document, by electronic mail to the following Internet address:


Changes for C++ Version 7.1 for OpenVMS I64

The following class library changes apply to C++ Version 7.1 and higher for OpenVMS I64 systems:

  • The tasks and complex packages have been removed. The recommended replacements are the pthreads routines and complex template class, respectively, from the C++ standard library.
  • In the String class, the char*() operator, which converts String to a pointer to char , has been removed. The String class has a const char*() operator, which can be used instead of the removed one.

Next Contents Index
About PDF files: The PDF files on this site can be read online or printed using Adobe® Acrobat® Reader. If you do not have this software on your system, you may download it from Adobe's website.
Privacy statement Using this site means you accept its terms C++ support
© 2008 Hewlett-Packard Development Company, L.P.