libstdc++
std::hash< experimental::shared_ptr< _Tp > > Struct Template Reference

#include <shared_ptr.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 experimental::shared_ptr< _Tp > &__s) const noexcept
 

Detailed Description

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

std::hash specialization for shared_ptr.

Definition at line 665 of file experimental/bits/shared_ptr.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 >
size_t std::hash< experimental::shared_ptr< _Tp > >::operator() ( const experimental::shared_ptr< _Tp > &  __s) const
inlinenoexcept

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


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