#include <bslh_hash.h>
List of all members.
Detailed Description
template<class HASH_ALGORITHM = bslh::DefaultHashAlgorithm>
struct bslh::Hash< HASH_ALGORITHM >
This struct wraps the (template parameter) type HASH_ALGORITHM
in an interface that satisfies the hash
requirements of the C++11 standard.
See Component bslh_hash
Member Typedef Documentation
template<class HASH_ALGORITHM = bslh::DefaultHashAlgorithm>
template<class HASH_ALGORITHM = bslh::DefaultHashAlgorithm>
Constructor & Destructor Documentation
template<class HASH_ALGORITHM = bslh::DefaultHashAlgorithm>
template<class HASH_ALGORITHM = bslh::DefaultHashAlgorithm>
Create a bslh::Hash
object. Note that as bslh::Hash
is an empty (stateless) type, this operation will have no observable effect.
template<class HASH_ALGORITHM = bslh::DefaultHashAlgorithm>
Member Function Documentation
template<class HASH_ALGORITHM = bslh::DefaultHashAlgorithm>
Assign to this object the value of the specified rhs
object, and return a reference providing modifiable access to this object. Note that as bslh::Hash
is an empty (stateless) type, this operation will have no observable effect.
template<class HASH_ALGORITHM = bslh::DefaultHashAlgorithm>
template<class TYPE >
Returns a hash value generated by the (template parameter) type HASH_ALGORITHM
for the specified type
. The value returned by the HASH_ALGORITHM
is cast to size_t
before returning.
The documentation for this struct was generated from the following file: