bsl::owner_less<shared_ptr<ELEMENT_TYPE>>::operator()

Function call operators

Synopses

Declared in <bslstl_ownerless.h>

owner_less& operator=(const owner_less& rhs) = default;

bool
operator()(
    shared_ptr<ELEMENT_TYPE> const& a,
    shared_ptr<ELEMENT_TYPE> const& b) const noexcept;
» more...
bool
operator()(
    shared_ptr<ELEMENT_TYPE> const& a,
    weak_ptr<ELEMENT_TYPE> const& b) const noexcept;
» more...

Return true if the address of the BloombergLP::bslma::SharedPtrRep object used by the specified a is ordered before the address of the BloombergLP::bslma::SharedPtrRep object used by the specified b under the total ordering supplied by std::less<BloombergLP::bslma::SharedPtrRep *>, and false otherwise.

bool
operator()(
    weak_ptr<ELEMENT_TYPE> const& a,
    shared_ptr<ELEMENT_TYPE> const& b) const noexcept;
» more...