#include <bslstl_mapcomparator.h>
List of all members.
template<class KEY, class VALUE, class COMPARATOR>
class bslstl::MapComparator< KEY, VALUE, COMPARATOR >
Member Typedef Documentation
template<class KEY , class VALUE , class COMPARATOR >
template<class KEY , class VALUE , class COMPARATOR >
Constructor & Destructor Documentation
template<class KEY , class VALUE , class COMPARATOR >
Create a MapComparator
object that will use a default constructed COMPARATOR
.
template<class KEY , class VALUE , class COMPARATOR >
Create a MapComparator
object holding a copy of the specified keyComparator
.
template<class KEY , class VALUE , class COMPARATOR >
Create a MapComparator
object with the COMPARATOR
object of the specified original
object.
template<class KEY , class VALUE , class COMPARATOR >
Member Function Documentation
template<class KEY , class VALUE , class COMPARATOR >
template<class LOOKUP_KEY >
Return true
if the specified lhs
is less than (ordered before, according to the comparator held by this object) value().first
of the specified rhs
after being cast to NodeType
, and false
otherwise. The behavior is undefined unless rhs
can be safely cast to NodeType
.
template<class KEY , class VALUE , class COMPARATOR >
template<class LOOKUP_KEY >
Return true
if value().first()
of the specified lhs
after being cast to NodeType
is less than (ordered before, according to the comparator held by this object) the specified rhs
, and false
otherwise. The behavior is undefined unless rhs
can be safely cast to NodeType
.
template<class KEY , class VALUE , class COMPARATOR >
Efficiently exchange the value of this object with the value of the specified other
object. This method provides the no-throw exception-safety guarantee.
template<class KEY , class VALUE , class COMPARATOR >
template<class LOOKUP_KEY >
Return true
if the specified lhs
is less than (ordered before, according to the comparator held by this object) value().first
of the specified rhs
after being cast to NodeType
, and false
otherwise. The behavior is undefined unless rhs
can be safely cast to NodeType
.
template<class KEY , class VALUE , class COMPARATOR >
template<class LOOKUP_KEY >
Return true
if value().first()
of the specified lhs
after being cast to NodeType
is less than (ordered before, according to the comparator held by this object) the specified rhs
, and false
otherwise. The behavior is undefined unless rhs
can be safely cast to NodeType
.
template<class KEY , class VALUE , class COMPARATOR >
Return a reference providing modifiable access to the function pointer or functor to which this comparator delegates comparison operations.
template<class KEY , class VALUE , class COMPARATOR >
Return a reference providing non-modifiable access to the function pointer or functor to which this comparator delegates comparison operations.
The documentation for this class was generated from the following file: