Tools.h++ Class Reference

Table Of Contents
typedef (scoped Iterator) iterator;
typedef (scoped ConstIterator) const_iterator;
Public Constructors
rw_slist<T>();
Construct an empty rw_slist<T>.
rw_slist<T>(const rw_slist<T>& list);
Construct an rw_slist<T> which is a copy of list. Each element from list will be copied
into self.
rw_slist<T>(size_type count, const T& value);
Construct an rw_slist<T> containing exactly count copies of value.
rw_slist<T>(const_iterator first, const_iterator bound);
Construct an rw_slist<T> containing a copy of each element referenced by the range
starting at first and bounded by bound.
rw_slist<T>(const T* first, const T* bound);
Construct an rw_slist<T> containing a copy of each element referenced by the range
starting at first and bounded by bound.
Public Destructor
~rw_slist<T>();
The destructor releases the memory used by the links.
Accessors
iterator
begin();
The iterator returned references the first item in self. If self is empty, the iterator is equal
to end().
const_iterator
begin() const;
The iterator returned references the first item in self. If self is empty, the iterator is equal
to end().
iterator
end();
The iterator returned marks the location "off the end" of self. It may not be dereferenced.