Specialization of owner_less that orders shared_ptr objects by ownership.
Declared in <bslstl_ownerless.h>
template<class ELEMENT_TYPE>
struct owner_less<shared_ptr<ELEMENT_TYPE>>;
| Name | Description |
|---|---|
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(). |
| Name | Description |
|---|---|
operator() | Return true if the ownership of a is ordered before that of b. |