Tools.h++ Class Reference

Table Of Contents
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
RWTValVector<T>
Synopsis
Descripton
Persistence
Example
Public Constructors
Public Operators
Public Member Functions
Synopsis
#include <rw/tvvector.h>
RWTValVector<T> vec;
Descripton
Class RWTValVector<T> is a simple parameterized vector of objects of type T. It is most
useful when you know precisely how many objects have to be held in the collection. If the
intention is to "insert" an unknown number of objects into a collection, then class
RWTValOrderedVector<T> may be a better choice.
The class T must have:
well-defined copy semantics (T::T(const T&) or equiv.);
well-defined assignment semantics (T::operator=(const T&) or equiv.);
a default constructor.
Persistence
Isomorphic