Tools.h++ Class Reference

Table Of Contents
Public Typedefs
typedef multiset<T,C,allocator> container_type;
typedef container_type::iterator iterator;
typedef container_type::const_iterator const_iterator;
typedef container_type::size_type size_type;
typedef T value_type;
typedef const T& const_reference;
Public Constructors
RWTValMultiSet<T,C>(const C& cmp = C());
Constructs an empty set.
RWTValMultiSet<T,C>(const container_type& s);
Constructs a set by copying all elements of s.
RWTValMultiSet<T,C>(const RWTValMultiSet<T,C>& rws);
Copy constructor.
RWTValMultiSet<T,C>
(const T* first,const T* last,const C& cmp = C());
Constructs a set by copying elements from the array of Ts pointed to by first, up to, but
not including, the element pointed to by last.
Public Member Operators
RWTValMultiSet<T,C>&
operator=(const RWTValMultiSet<T,C>& s);
RWTValMultiSet<T,C>&
operator=(const container_type& s);
Destroys all elements of self and replaces them by copying all elements of s.
bool
operator<(const RWTValMultiSet<T,C>& s) const;
bool
operator<(const container_type& s) const;
Returns true if self compares lexicographically less than s, otherwise returns false.
Assumes that type T has well-defined less-than semantics (T::operator<(const T&) or
equivalent).
bool
operator==(const RWTValMultiSet<T,C>& s) const;
bool