Tools.h++ Class Reference

Table Of Contents
4
2
1
3
5
Related Classes
Classes RWTValSlist<T>, RWTValDlist<T>, RWTValSortedDlist<T>, and
RWTValOrderedVector<T> also provide a Rogue Wave interface to C++-standard sequence
collections. The list classes should be considered for frequent insertions (or removals) in the
interior of the collection. The vector may be more efficient if most insertions and removals
occur at the end of the collection.
Class deque<T,allocator> is the C++-standard collection that serves as the underlying
implementation for this class.
Public Typedefs
typedef deque<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
RWTValDeque<T>();
Constructs an empty, double-ended queue.
RWTValDeque<T>(const deque<T,allocator>& deq);
Constructs a double-ended queue by copying all elements of deq.
RWTValDeque<T>(const RWTValDeque<T>& rwdeq);
Copy constructor.
RWTValDeque<T>(size_type n, const T& val = T());
Constructs a double-ended queue with n elements, each initialized to val.
RWTValDeque<T>(const T* first, const T* last);
Constructs a double-ended queue by copying elements from the array of Ts pointed to by
first, up to, but not including, the element pointed to by last.