BloombergLP::bslstl::SetComparator::operator()

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);
» more...

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;
» more...

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);
» more...

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;
» more...

Return Value

  • true if lhs is ordered before the key in rhs, and false otherwise
  • true if the key in lhs is ordered before rhs, and false otherwise

Parameters

NameDescription
lhslookup key to compare
rhstree node whose key is compared