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()(weak_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

Name

Description

x

weak pointer whose owner identity is hashed

Created with MrDocs