Tools.h++ Class Reference

Table Of Contents
new RWDate(5, "Jan", 1981);
// Print a birthday:
RWCString key("John");
cout << *birthdays[&key] << endl;
return 0;
}
Program Output:
04/12/75
Related Classes
Class RWTPtrMultiMap<K,T,C> offers the same interface to a pointer-based collection that
accepts multiple keys that compare equal to each other. RWTPtrSet<T,C> maintains a
pointer-based collection of keys without the associated items.
Class map<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 map<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
RWTPtrMap<K,T,C>
(const container_comp& comp = container_comp());
Constructs an empty map with comparator comp.
RWTPtrMap<K,T,C>(const RWTPtrMap<K,T,C>& rwm);