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_hashmultimap
Synopsis
Description
Persistence
Public Typedefs
Public Constructors
Public Destructor
Public Operators
Accessors
Const Public Member Functions
Mutators
Special Methods for Multimaps
Synopsis
#include <rw/rwstl/hashmmap.h>
rw_hashmultimap<K,V,Hash,EQ> mmap;
Description
Class rw_hashmultimap<K,V,Hash,EQ> maintains a collection of mappings between K and V,
implemented as a hash table of pair<const K,V> in which there may be many pairs with the
same K instance. 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_hashmap provides for iterators that reference its elements. Operations that alter the contents
of rw_hashmap may invalidate other iterators that reference the container. Since the contents of
rw_hashmap 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().