Function call operators
Synopses
Declared in <bslstl_setcomparator.h>
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.
template<class LOOKUP_KEY>
bool
operator()(
LOOKUP_KEY const& lhs,
bslalg::RbTreeNode const& rhs);
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.
template<class LOOKUP_KEY>
bool
operator()(
LOOKUP_KEY const& lhs,
bslalg::RbTreeNode const& rhs) const;
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.
template<class LOOKUP_KEY>
bool
operator()(
bslalg::RbTreeNode const& lhs,
LOOKUP_KEY const& rhs);
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.
template<class LOOKUP_KEY>
bool
operator()(
bslalg::RbTreeNode const& lhs,
LOOKUP_KEY const& rhs) const;
Created with MrDocs