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

Public Types

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

Public Member Functions

size_t operator() (const _Kty &_Keyval) const
 
- Public Member Functions inherited from _Bitwise_hash< double >
size_t operator() (const double &_Keyval) const
 

Member Typedef Documentation

typedef double hash< double >::_Kty
typedef _Bitwise_hash<_Kty> hash< double >::_Mybase

Member Function Documentation

size_t hash< double >::operator() ( const _Kty _Keyval) const
inline
446  { // hash _Keyval to size_t value by pseudorandomizing transform
447  return (_Mybase::operator()(
448  _Keyval == 0 ? 0 : _Keyval)); // map -0 to 0
449  }

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