BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslstp::HashCString Struct Reference

#include <bslstp_hash.h>

Public Member Functions

 BSLMF_NESTED_TRAIT_DECLARATION (HashCString, bsl::is_trivially_copyable)
 
std::size_t operator() (const char *s) const
 Return a hash value computed using the specified s.
 

Detailed Description

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

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

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