libstdc++: std::hash< experimental::shared_ptr< _Tp > (original) (raw)

#include <[shared_ptr.h](a17939%5Fsource.html)>

Inherits std::__hash_base< _Result, _Arg >.

Public Member Functions
size_t operator() (const experimental::shared_ptr< _Tp > &__s) const noexcept

template<typename _Tp>
struct std::hash< experimental::shared_ptr< _Tp > >

std::hash specialization for shared_ptr.

Definition at line 671 of file experimental/bits/shared_ptr.h.

argument_type

template<typename _Result , typename _Arg >

typedef _Arg std::__hash_base< _Result, _Arg >::argument_type inherited

result_type

template<typename _Result , typename _Arg >

typedef _Result std::__hash_base< _Result, _Arg >::result_type inherited

operator()()

template<typename _Tp >

size_t std::hash< experimental::shared_ptr< _Tp > >::operator() ( const experimental::shared_ptr< _Tp > & __s) const inlinenoexcept

The documentation for this struct was generated from the following file: