bsl::owner_less

Function-object type that orders two pointers by the ownership of their shared/weak pointer objects rather than by the pointer addresses.

Synopsis

Declared in <bslstl_ownerless.h>

template<class POINTER_TYPE = void>
struct owner_less;

Specializations

Name
owner_less<void>
owner_less<shared_ptr<ELEMENT_TYPE>>
owner_less<weak_ptr<ELEMENT_TYPE>>