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);

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;

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);

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;

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

Name

Description

lhs

lookup key to compare

rhs

tree node whose key is compared

Created with MrDocs