bsl::owner_hash::operator()

Return the result of calling owner_hash() on the specified x.

Synopsis

Declared in <bslstl_ownerhash.h>

template<class ELEMENT_TYPE>
std::size_t
operator()(shared_ptr<ELEMENT_TYPE> const& x) const noexcept;

Description

Note that for any object y where x.owner_equal(y) is true, x.owner_hash() == y.owner_hash() is true.

Return Value

hash of the owner identity of x

Parameters

NameDescription
xshared pointer whose owner identity is hashed