bsl::owner_hash::operator()

Function call operators

Synopses

Declared in <bslstl_ownerhash.h>

owner_hash& operator=(const owner_hash& rhs) = default;

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. Note that for any object y where x.owner_equal(y) is true, x.owner_hash() == y.owner_hash() is true.

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