HP aC++/HP C A.06.25 Programmer's Guide

iterators in multiple threads as iterators are used to modify a non-const container. Use
thread-safe wrappers, such as those provided by Tools.h++ Library to access a container
from multiple threads.
Standard C++ Library Reference
The Standard C++ Library Reference provides an alphabetical listing of all of the classes,
algorithms, and function objects in the prior Rogue Wave implementation of the
Standard C++ Library.
Incompatibilities Between the Library and the Standard
The ANSI/ISO C++ International Standard is different from Standard C++ Library. For
example, the times function object in the functional header file. In the standard, times
is renamed to multiplies.
To use multiplies in your code and to be compatible with the ANSI/ISO C++
International Standard, use a conditional compilation flag on the aCC command line.
Example:
The following program uses the times function object:
// test.c
int times; //user defined variable
#include <functional>
//multiplies can be used in
int main() {}
// end of test.c
Compile this program using the following command:
aCC -D__HPACC_USING_MULTIPLIES_IN_FUNCTIONAL test.c
Depending on the existence of the conditional compilation flag, functional defines
either times, or multiplies, not both.
If you have old source that uses times in header functional and a new source that
uses multiplies, the sources cannot be mixed. Mixing the two sources constitutes a
non-conforming program, and the old and new sources may or may not link.
If your code uses the old name times, and you want to continue to use the present
non-standard times function object, you need not to do anything to compile the old
source.
Tools.h++ Library
The Tools.h++ Library is a foundation class library built on the Standard C++ Library.
Use its object-oriented capabilities to simplify coding and facilitate code reuseablility.
The Rogue Wave Software Tools.h++ Class Reference describes all classes and functions
in the Tools.h++ Library. It is intended for use with Rogue Wave Standard C++ Library.
234 Tools and Libraries