Tools.h++ Class Reference

Table Of Contents
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
RWTPtrMap<K,T,C>
Synopsis
Standard C++ Library Dependent!
Description
Persistence
Examples
Related Classes
Public Typedefs
Public Constructors
Public Member Operators
Public Member Functions
Related Global Operations
Synopsis
#include <rw/tpmap.h>
RWTPtrMap<K,T,C> m;
Standard C++ Library Dependent!
RWTPtrMap requires the Standard C++ Library.
Description
This class maintains a pointer-based collection of associations of type pair<K* const, T*>. The
first part of the association is a key of type K*, the second is its associated item of type T*.
Order is determined by the key according to a comparison object of type C. C must induce a
total ordering on elements of type K via a public member
bool operator()(const K& x, const K& y)