Tools.h++ Class Reference

Table Of Contents
Public Typedefs
typedef vector<T,allocator> container_type;
typedef container_type::iterator iterator;
typedef container_type::const_iterator const_iterator;
typedef container_type::size_type size_type;
typedef T value_type;
typedef T& reference;
typedef const T& const_reference;
Public Constructors
RWTValOrderedVector<T>();
Constructs an empty vector.
RWTValOrderedVector<T>(const vector<T,allocator>& vec);
Constructs a vector by copying all elements of vec.
RWTValOrderedVector<T>(const RWTValOrderedVector<T>& rwvec);
Copy constructor.
RWTValOrderedVector<T>(size_type n, const T& val);
Constructs a vector with n elements, each initialized to val.
RWTValOrderedVector<T>(size_type n);
Constructs an empty vector with a capacity of n elements.
RWTValOrderedVector<T>(const T* first, const T* last);
Constructs a vector by copying elements from the array of Ts pointed to by first, up to,
but not including, the element pointed to by last.
Public Member Operators
RWTValOrderedVector<T>&
operator=(const RWTValOrderedVector<T>& vec);
RWTValOrderedVector<T>&
operator=(const vector<T,allocator>& vec);
Calls the destructor on all elements of self and replaces them by copying all elements of
vec.
bool
operator<(const RWTValOrderedVector<T>& vec);
bool
operator<(const vector<T>& vec);