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

Return true if the ownership of a is ordered before that of b.

Synopsis

Declared in <bslstl_ownerless.h>

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

Return Value

true if the ownership of a is ordered before that of b, otherwise false

Parameters

NameDescription
afirst smart pointer to compare by ownership
bsecond smart pointer to compare by ownership