STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | List of all members
_Bitwise_hash< _Kty > Struct Template Reference
Inheritance diagram for _Bitwise_hash< _Kty >:
hash< _Kty >

Public Types

typedef _Kty argument_type
 
typedef size_t result_type
 

Public Member Functions

size_t operator() (const _Kty &_Keyval) const
 

Member Typedef Documentation

template<class _Kty>
typedef _Kty _Bitwise_hash< _Kty >::argument_type
template<class _Kty>
typedef size_t _Bitwise_hash< _Kty >::result_type

Member Function Documentation

template<class _Kty>
size_t _Bitwise_hash< _Kty >::operator() ( const _Kty &  _Keyval) const
inline
365  { // hash _Keyval to size_t value by pseudorandomizing transform
366  return (_Hash_seq((const unsigned char *)&_Keyval, sizeof (_Kty)));
367  }
_STD_BEGIN size_t _Hash_seq(const unsigned char *_First, size_t _Count)
Definition: xstddef:335

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