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_hashset
Synopsis
Description
Persistence
Public Typedefs
Public Constructors
Public Destructor
Public Operators
Accessors
Const Public Member Functions
Mutators
Special Methods for Sets
Synopsis
#include <rw/rwstl/hashset.h>
rw_hashset<T,Hash,EQ> set;
Description
Class rw_hashset<T,Hash,EQ> maintains a collection of T, implemented as a hash table in
which there may not be more than one instance of any given T. Since this is a value based
collection, objects are copied into and out of the collection. As with all classes that meet the
ANSI associative container specification, rw_hashset provides for iterators that reference its
elements. Operations that alter the contents of rw_hashset may invalidate other iterators that
reference the container. Since the contents of rw_hashset are in pseudo-random order, the only
iterator ranges that will usually make sense are the results of calling equal_range(key), and the
entire range from begin() to end().