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

Public Member Functions

size_t operator() (const _Kty &_Keyval) const
 

Additional Inherited Members

- Public Types inherited from unary_function< _Kty, size_t >
typedef _Kty argument_type
 
typedef size_t result_type
 

Member Function Documentation

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

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