Tools.h++ Class Reference

Table Of Contents
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
rw_slist<T>
Synopsis
Description
Public Typedefs
Public Constructors
Public Destructor
Accessors
Const Public Member Functions
Mutators
Special Methods for Lists
Related Global Operators
Synopsis
#include <rw/rwstl/slist.h>
rw_slist<T> list;
Description
Class rw_slist<T> maintains a collection of T, implemented as a singly-linked list. Since this is a
value based list, objects are copied into and out of the links that make up the list. As with all
classes that meet the ANSI sequence specification, rw_slist provides for iterators that reference
its elements. Operations that alter the contents of rw_slist will invalidate iterators that reference
items at or after the location of change.
Public Typedefs
typedef T value_type;
typedef T& reference;
typedef const T& const_reference;
typedef (unsigned) size_type; //from Allocator<Node>
Iterators over rw_slist<T> are forward iterators.