BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bslstp::HashCString Struct Reference

#include <bslstp_hash.h>

Detailed Description

Hash functor to generate a hash for a pointer to a null-terminated string.

See bslstp_hash

Public Member Functions

 BSLMF_NESTED_TRAIT_DECLARATION (HashCString, bsl::is_trivially_copyable)
 
std::size_t operator() (const char *s) const
 

Member Function Documentation

◆ BSLMF_NESTED_TRAIT_DECLARATION()

bslstp::HashCString::BSLMF_NESTED_TRAIT_DECLARATION ( HashCString  ,
bsl::is_trivially_copyable   
)

◆ operator()()

std::size_t bslstp::HashCString::operator() ( const char *  s) const
inline

Return a hash value computed using the specified s.


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