Return whether the key stored in lhs is ordered before rhs.
Declared in <bslstl_mapcomparator.h>
template<class LOOKUP_KEY>
bool
operator()(
bslalg::RbTreeNode const& lhs,
LOOKUP_KEY const& rhs);
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.
true if the key in lhs is ordered before rhs, and false otherwise
| Name | Description |
|---|---|
| lhs | tree node whose key is compared to rhs |
| rhs | lookup key compared against the node's key |