#include <bdlb_cstringhash.h>
List of all members.
Detailed Description
This struct
defines a hash operation for null-terminated character strings enabling them to be used as keys in the standard unordered associative containers such as bsl::unordered_map
and bsl::unordered_set
. Note that this class is an empty POD type.
See Component bdlb_cstringhash
Member Typedef Documentation
Constructor & Destructor Documentation
bdlb::CStringHash::CStringHash |
( |
|
) |
|
bdlb::CStringHash::CStringHash |
( |
const CStringHash & |
original |
) |
|
Create a CStringHash
object. Note that as CStringHash
is an empty (stateless) type, this operation will have no observable effect.
bdlb::CStringHash::~CStringHash |
( |
|
) |
|
Member Function Documentation
Assign to this object the value of the specified rhs
object, and a return a reference providing modifiable access to this object. Note that as CStringHash
is an empty (stateless) type, this operation will have no observable effect.
bsl::size_t bdlb::CStringHash::operator() |
( |
const char * |
argument |
) |
const |
Return a hash code generated from the contents of the specified null-terminated argument
string. The behavior is undefined unless argument
points to a null-terminated string.
The documentation for this struct was generated from the following file: