bsl::owner_less<weak_ptr<ELEMENT_TYPE>>

Specialization of owner_less that orders weak_ptr objects by ownership.

Synopsis

Declared in <bslstl_ownerless.h>

template<class ELEMENT_TYPE>
struct owner_less<weak_ptr<ELEMENT_TYPE>>;

Type Aliases

NameDescription
first_argument_type This typedef is an alias to the first argument type of operator().
result_type This typedef is an alias to the result type of operator().
second_argument_type This typedef is an alias to the second argument type of operator().

Member Functions

NameDescription
operator() Return true if the ownership of a is ordered before that of b.