BloombergLP::bslstl::MapComparator::operator()

Function call operators

Synopses

Declared in <bslstl_mapcomparator.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 compared against the node's key
rhstree node whose key is compared to lhs