Compaq C++
Compaq C++
Class Library Reference Manual
Order Number:
AA-PM9XD-TE
June 2000
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
Compaq Computer Corporation
Houston, Texas
First Printing, September 1992
Third Revision, June 2000
© 2000 Compaq Computer Corporation.
COMPAQ, the Compaq logo, and Alpha, DEC, Ladebug, OpenVMS, Tru64 UNIX,
and VMS are registered in the U.S. Patent and Trademark Office.
The following are third-party trademarks:
AT&T is a registered trademark of American Telephone &
Telegraph Company.
UNIX is a registered trademark in the United States and other
countries, licensed exclusively through X/Open Company, Ltd.
All other product names mentioned herein may be trademarks or
registered trademarks of their respective companies.
Compaq shall not be liable for technical or editorial errors or
omissions contained herein. The information is provided "as
is" without warranty of any kind and is subject to change without
notice. The warranties for Compaq products are set forth in the express
limited warranty statements accompanying such products. Nothing herein
should be construed as constituting an additional warranty.
Confidential computer software. Valid license from Compaq 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.
Preface
This manual describes the library of classes supplied with C++ Version
5.6 for Compaq Tru64 UNIX 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
Compaq Tru64 UNIX 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 C++ for Compaq Tru64 UNIX Systems
|
Describes the specifics of DIGITAL'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, or Compaq Tru64 UNIX programming.
|
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.
|
|
Compaq Tru64 UNIX Guide to Languages and Programming
|
Describes the programming environment, languages, and tools for Compaq
Tru64 UNIX systems.
|
|
C User's Guide for Compaq Tru64 UNIX Systems
|
Provides information on using the C preprocessor, the C compiler, and
the
ld
linker to compile and run C programs on a Compaq Tru64 UNIX system.
|
Compaq Tru64 UNIX
Programmer's Guide
|
Describes the programming environment for Compaq Tru64 UNIX.
|
|
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.
|
|
Ladebug Debugger Manual
|
Describes how to use DIGITAL's Ladebug debugger.
|
Conventions
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.
|
UPPERCASE
lowercase
|
The Compaq Tru64 UNIX operating system differentiates between uppercase
and lowercase characters. Literal strings that appear in examples,
syntax descriptions, and function definitions must be typed exactly as
shown.
|
Reader's Comments
You may send comments or suggestions regarding this manual, or any
Compaq C++ document, by electronic mail to the following Internet
address:
cxx_docs@zko.dec.com
Include the title of the document, section and page number where the
error occurred.
Product Support
Customers with support contracts should seek support for problems
through local customer support centers.
Customers who do not have support contracts are encouraged to mail problem reports to
compaq_cxx.bugs@compaq.com
. Although these reports will certainly be used as a source of input
for fixing problems for new releases, we cannot give the reports
individual attention. We can take remedial action only on a best-effort
basis.
If you have questions, suggestions, or comments, please send mail to
compaq_cxx@compaq.com
.
When reporting problems to Compaq, please provide the following
information:
- Name and version of compiler (from a listing file or by specify the
-V
command-line option).
- Name and version of operating system
- Smallest possible complete source and commands needed to reproduce
the problem.
- An example of the incorrect results and the desired results