BloombergLP::bdlb::CaselessStringViewHash::operator()

Return a case-insensitive hash of the specified argument.

Synopsis

Declared in <bdlb_caselessstringviewhash.h>

std::size_t
operator()(std::string_view argument) const;

Description

Return a hash code generated from the contents of the specified null-terminated argument string, cast to lower case. The behavior is undefined unless argument points to a null-terminated string.

Return Value

case-insensitive hash of argument

Parameters

NameDescription
argumentstring view whose contents are hashed