Function call operators
Synopses
Declared in <bslstl_setcomparator.h>
Return whether lhs is ordered before the key stored in rhs.
template<class LOOKUP_KEY>
bool
operator()(
LOOKUP_KEY const& lhs,
bslalg::RbTreeNode const& rhs);
Return whether lhs is ordered before the key stored in rhs.
template<class LOOKUP_KEY>
bool
operator()(
LOOKUP_KEY const& lhs,
bslalg::RbTreeNode const& rhs) const;
Return whether the key stored in lhs is ordered before rhs.
template<class LOOKUP_KEY>
bool
operator()(
bslalg::RbTreeNode const& lhs,
LOOKUP_KEY const& rhs);
Return whether the key stored in lhs is ordered before rhs.
template<class LOOKUP_KEY>
bool
operator()(
bslalg::RbTreeNode const& lhs,
LOOKUP_KEY const& rhs) const;
Return Value
-
trueiflhsis ordered before the key inrhs, andfalseotherwise -
trueif the key inlhsis ordered beforerhs, andfalseotherwise
Parameters
Name |
Description |
lhs |
lookup key to compare |
rhs |
tree node whose key is compared |
Created with MrDocs