Tools.h++ Class Reference

Table Of Contents
05/14/90
Related Classes
RWTPtrSortedDlist<T,C> is an alternative always-sorted pointer-based collection.
RWTPtrOrderedVector<T> is an unsorted pointer-based vector.
Class vector<T*,allocator> is the Standard C++ Library collection that serves as the underlying
implementation for this class.
Public Typedefs
typedef vector<T*,allocator> container_type;
typedef rw_deref_compare<C,T> container_comp;
typedef container_type::const_iterator const_iterator;
typedef container_type::const_iterator iterator;
typedef container_type::size_type size_type;
typedef container_type::difference_type difference_type;
typedef T* value_type;
typedef T*& reference;
typedef T* const& const_reference;
Public Constructors
RWTPtrSortedVector<T,C>();
Constructs an empty vector.
RWTPtrSortedVector<T,C>(const vector<T*,allocator>& vec);
Constructs a vector by copying and sorting all elements of vec.
RWTPtrSortedVector<T,C>(const RWTPtrSortedVector<T,C>& rwvec);
Copy constructor.
RWTPtrSortedVector<T,C>(size_type n, T* p);
Constructs a vector with n elements, each initialized to p.
RWTPtrSortedVector<T,C>(size_type n);
Constructs an empty vector with a capacity of n elements.
RWTPtrSortedVector<T,C>(T** first,T** last);
Constructs a vector by copying and sorted elements from the array of T*s pointed to by
first, up to, but not including, the element pointed to by last.