Tools.h++ Class Reference

Table Of Contents
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
RWTPtrSortedVector<T,C>
Synopsis
Please Note!
Description
Persistence
Example
Related Classes
Public Typedefs
Public Constructors
Public Member Operators
Public Member Functions
Static Public Data Member
Related Global Operators
Synopsis
#include <rw/tpsrtvec.h>
RWTPtrSortedVector<T,C> srtvec;
Please Note!
If you have the Standard C++ Library, use the interface described here. Otherwise, use
the restricted interface for RWTPtrSortedVector described in Appendix A.
Description
This class maintains an always-sorted pointer-based collection of values, implemented as a
vector. Items are ordered according to a comparison object of type C. Class T is the type
pointed to by the items in the collection. C must induce a total ordering on elements of type T