STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | List of all members
hash< unique_ptr< _Ty, _Dx > > Struct Template Reference

Public Types

typedef unique_ptr< _Ty, _Dx > argument_type
 
typedef size_t result_type
 

Public Member Functions

size_t operator() (const argument_type &_Keyval) const
 

Member Typedef Documentation

template<class _Ty , class _Dx >
typedef unique_ptr<_Ty, _Dx> hash< unique_ptr< _Ty, _Dx > >::argument_type
template<class _Ty , class _Dx >
typedef size_t hash< unique_ptr< _Ty, _Dx > >::result_type

Member Function Documentation

template<class _Ty , class _Dx >
size_t hash< unique_ptr< _Ty, _Dx > >::operator() ( const argument_type _Keyval) const
inline
1966  { // hash _Keyval to size_t value by pseudorandomizing transform
1967  typedef typename argument_type::pointer _Ptrtype;
1968  return (hash<_Ptrtype>()(_Keyval.get()));
1969  }
Definition: xstddef:372

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