bsl::owner_less<void>::operator()

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.

Synopsis

Declared in <bslstl_ownerless.h>

template<
    class ELEMENT_TYPE_A,
    class ELEMENT_TYPE_B>
bool
operator()(
    weak_ptr<ELEMENT_TYPE_A> const& a,
    weak_ptr<ELEMENT_TYPE_B> const& b) const noexcept;