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