8#ifndef INCLUDED_BDLB_CSTRINGHASH
9#define INCLUDED_BDLB_CSTRINGHASH
208#include <bdlscm_version.h>
220#include <bsl_cstring.h>
221#include <bsl_cstddef.h>
269 bsl::size_t
operator()(
const char *argument)
const;
287 hash(argument, bsl::strlen(argument));
288 return static_cast<bsl::size_t
>(hash.
computeHash());
Definition bslh_spookyhashalgorithm.h:362
result_type computeHash()
Definition bslh_spookyhashalgorithm.h:476
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1804
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bdlb_algorithmworkaroundutil.h:74
Definition bdlb_cstringhash.h:234
const char * argument_type
Definition bdlb_cstringhash.h:237
CStringHash & operator=(const CStringHash &rhs)=default
~CStringHash()=default
Destroy this object.
BSLMF_NESTED_TRAIT_DECLARATION(CStringHash, bsl::is_trivially_copyable)
CStringHash()=default
Create a CStringHash object.
BSLMF_NESTED_TRAIT_DECLARATION(CStringHash, bsl::is_trivially_default_constructible)
CStringHash(const CStringHash &original)=default
bsl::size_t result_type
Definition bdlb_cstringhash.h:238
bsl::size_t operator()(const char *argument) const
Definition bdlb_cstringhash.h:282
Definition bslmf_istriviallycopyable.h:329
Definition bslmf_istriviallydefaultconstructible.h:293