bsl::owner_less<void>

Transparent specialization of owner_less for heterogeneous ownership comparison of shared_ptr and weak_ptr.

Synopsis

Declared in <bslstl_ownerless.h>

template<>
struct owner_less<void>;

Type Aliases

NameDescription
is_transparent Type alias indicating this is a transparent comparator.

Member Functions

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