bsl::owner_hash::operator()

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

Synopses

Declared in <bslstl_ownerhash.h>

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

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

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

template<class ELEMENT_TYPE>
std::size_t
operator()(weak_ptr<ELEMENT_TYPE> const& x) const noexcept;
» more...

Return Value

hash of the owner identity of x

Parameters

NameDescription
xshared pointer whose owner identity is hashed