Tools.h++ Class Reference

Table Of Contents
RWMMap::const_iterator iter =
birthdays.std().lower_bound(&ivanstr);
while (++idx <= n)
cout << idx << ". " << *(*iter++).second << endl;
return 0;
}
Program Output:
There are 3 Ivans:
1. 11/02/80
2. 06/19/71
3. 07/06/50
Related Classes
Class RWTPtrMap<K,T,C> offers the same interface to a pointer-based collection that will not
accept multiple keys that compare equal to each other. RWTPtrMultiSet<T,C> maintains a
pointer-based collection of keys without the associated values.
Class multimap<K*,T*,deref_compare<C,K,allocator> > is the C++-standard collection that serves
as the underlying implementation for this collection.
Public Typedefs
typedef rw_deref_compare<C,K> container_comp;
typedef multimap<K*,T*,container_comp,allocator>
container_type;
typedef container_type::size_type size_type;
typedef container_type::difference_type difference_type;
typedef container_type::iterator iterator;
typedef container_type::const_iterator const_iterator;
typedef pair<K* const, T*> value_type;
typedef pair<K* const, T*> reference;
typedef const pair<K* const, T*>& const_reference;
typedef K* value_type_key;
typedef T* value_type_data;
typedef K*& reference_key;
typedef T*& reference_data;
typedef const K*const& const_reference_key;
typedef const T*const& const_reference_data;
Public Constructors
RWTPtrMultiMap<K,T,C>
(const container_comp& comp =container_comp());