owner_before overloads

Synopses

Declared in <bslstl_sharedptr.h>

Return true if this shared pointer precedes other in owner order.

template<class ANY_TYPE>
bool
owner_before(shared_ptr<ANY_TYPE> const& other) const noexcept;

Return true if the address of the BloombergLP::bslma::SharedPtrRep object used by this shared pointer is ordered before the address of the BloombergLP::bslma::SharedPtrRep object used by the specified other shared pointer under the total ordering defined by std::less<BloombergLP::bslma::SharedPtrRep *>, and false otherwise.

template<class ANY_TYPE>
bool
owner_before(weak_ptr<ANY_TYPE> const& other) const noexcept;

Created with MrDocs