libstdc++
std::hash< __shared_ptr< _Tp, _Lp > > Struct Template Reference

#include <shared_ptr_base.h>

Inherits std::__hash_base< _Result, _Arg >.

Public Types

typedef _Result result_type _GLIBCXX17_DEPRECATED
 
typedef _Arg argument_type _GLIBCXX17_DEPRECATED
 

Public Member Functions

size_t operator() (const __shared_ptr< _Tp, _Lp > &__s) const noexcept
 

Detailed Description

template<typename _Tp, _Lock_policy _Lp>
struct std::hash< __shared_ptr< _Tp, _Lp > >

std::hash specialization for __shared_ptr.

Definition at line 1843 of file shared_ptr_base.h.

Member Typedef Documentation

◆ _GLIBCXX17_DEPRECATED [1/2]

template<typename _Result , typename _Arg >
typedef _Result result_type std::__hash_base< _Result, _Arg >::_GLIBCXX17_DEPRECATED
inherited

Definition at line 52 of file functional_hash.h.

◆ _GLIBCXX17_DEPRECATED [2/2]

template<typename _Result , typename _Arg >
typedef _Arg argument_type std::__hash_base< _Result, _Arg >::_GLIBCXX17_DEPRECATED
inherited

Definition at line 53 of file functional_hash.h.

Member Function Documentation

◆ operator()()

template<typename _Tp , _Lock_policy _Lp>
size_t std::hash< __shared_ptr< _Tp, _Lp > >::operator() ( const __shared_ptr< _Tp, _Lp > &  __s) const
inlinenoexcept

Definition at line 1847 of file shared_ptr_base.h.


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