Main Page
Modules
Namespaces
Classes
Files
Directories
Class List
Class Hierarchy
Class Members
hudson
::
hash_by_cast
hudson::hash_by_cast< T > Struct Template Reference
#include <
hash_by_cast.h
>
List of all members.
Public Member Functions
size_t
operator()
(const T &t) const
Detailed Description
template<class T>
struct hudson::hash_by_cast< T >
A function object that casts it argument to unsigned; hopefully that gives a reasonable hash code. (For floating-point numbers, it certainly does not!)
Member Function Documentation
template<class T>
size_t
hudson::hash_by_cast
< T >::operator()
(
const T &
t
)
const
[inline]
The documentation for this struct was generated from the following file:
utilities/
hash_by_cast.h
Generated on Thu Mar 27 19:04:16 2008 by
1.4.6