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

Synopses

Declared in <bslstl_ownerless.h>

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

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

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

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

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

bool
operator()(
    weak_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

Name

Description

a

first smart pointer to compare by ownership

b

second smart pointer to compare by ownership

Created with MrDocs