#include <bslstl_setcomparator.h>
|
typedef TreeNode< KEY > | NodeType |
| This alias represents the type of node holding a KEY object.
|
|
◆ NodeType
template<class KEY , class COMPARATOR >
◆ SetComparator() [1/3]
template<class KEY , class COMPARATOR >
Create a SetComparator
object that will use a default constructed COMPARATOR
.
◆ SetComparator() [2/3]
template<class KEY , class COMPARATOR >
Create a SetComparator
object holding a copy of the specified keyComparator
.
◆ SetComparator() [3/3]
template<class KEY , class COMPARATOR >
Create a SapComparator
object with the COMPARATOR
object of the specified original
object.
◆ ~SapComparator()
template<class KEY , class COMPARATOR >
◆ keyComparator() [1/2]
template<class KEY , class COMPARATOR >
Return a reference providing modifiable access to the function pointer or functor to which this comparator delegates comparison operations.
◆ keyComparator() [2/2]
template<class KEY , class COMPARATOR >
Return a reference providing non-modifiable access to the function pointer or functor to which this comparator delegates comparison operations.
◆ operator()() [1/4]
template<class KEY , class COMPARATOR >
template<class LOOKUP_KEY >
Return true
if value()
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
.
◆ operator()() [2/4]
template<class KEY , class COMPARATOR >
template<class LOOKUP_KEY >
Return true
if value()
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
.
◆ operator()() [3/4]
template<class KEY , 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()
of the specified rhs
after being cast to NodeType
, and false
otherwise. The behavior is undefined unless rhs
can be safely cast to NodeType
.
◆ operator()() [4/4]
template<class KEY , 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()
of the specified rhs
after being cast to NodeType
, and false
otherwise. The behavior is undefined unless rhs
can be safely cast to NodeType
.
◆ swap()
template<class KEY , 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.
The documentation for this class was generated from the following file: