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;
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;
Return Value
hash of the owner identity of x
Parameters
Name |
Description |
x |
shared pointer whose owner identity is hashed |
Created with MrDocs