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

Public Types

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

Public Member Functions

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

Member Typedef Documentation

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

Member Function Documentation

size_t hash< float >::operator() ( const _Kty _Keyval) const
inline
432  { // hash _Keyval to size_t value by pseudorandomizing transform
433  return (_Mybase::operator()(
434  _Keyval == 0 ? 0 : _Keyval)); // map -0 to 0
435  }

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