Tools.h++ Class Reference

Table Of Contents
Click on the banner to return to the Class Reference home page.
Return to the Appendix home page.
©Copyright 1996 Rogue Wave Software
RWTValSortedVector<T>
Alternate template: Standard C++ Library not required
Synopsis
Please Note!
Description
Persistence
Example
Public Constructor
Public Operators
Public Member Functions
Related Global Operators
Synopsis
#include <rw/tvsrtvec.h>
RWTValSortedVector<T> sortvec;
Please Note!
If you do not have the Standard C++ Library, use the interface described here. Otherwise, use the
interface to RWTValSortedVector described in the Class Reference.
Description
RWTValSortedVector<T> is an ordered collection. That is, the items in the collection have a
meaningful ordered relationship with respect to each other and can be accessed by an index number. In
the case of RWTValSortedVector<T>, objects are inserted such that objects "less than" themselves are
before the object, objects "greater than" themselves after the object. An insertion sort is used.
Duplicates are allowed.