Tools.h++ Class Reference

Table Of Contents
Related Classes
Classes RWTPtrDlist<T>, RWTPtrSlist<T>, and RWTPtrOrderedVector<T> also provide a
Rogue Wave pointer-based interface to C++-standard sequence collections.
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 container_type::difference_type difference_type;
typedef T* value_type;
typedef T*& reference;
typedef T* const& const_reference;
Public Constructors
RWTPtrDeque<T>();
Constructs an empty, double-ended queue.
RWTPtrDeque<T>(const deque<T*, allocator>& deq);
Constructs a double-ended queue by copying all elements of deq.
RWTPtrDeque<T>(const RWTPtrDeque<T>& rwdeq);
Copy constructor.
RWTPtrDeque<T>(size_type n, T* a);
Constructs a double-ended queue with n elements, each initialized to a.
RWTPtrDeque<T>(T* const* first, T* const* last);
Constructs a double-ended queue by copying elements from the array of T*s pointed to
by first, up to, but not including, the element pointed to by last.
Public Member Operators
RWTPtrDeque<T>&
operator=(const RWTPtrDeque<T>& deq);
Clears all elements of self and replaces them by copying all elements of deq.
RWTPtrDeque<T>&
operator=(const deque<T*, allocator>& stddeq);