Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
CaseInsensitiveStringHash Struct Reference

Public Member Functions

size_t operator() (const string &s) const
 Produces a case-insensitive hash for a string by hashing its lowercase form.
 

Detailed Description

Definition at line 1513 of file ah-functional.cc.

Member Function Documentation

◆ operator()()

size_t CaseInsensitiveStringHash::operator() ( const string &  s) const
inline

Produces a case-insensitive hash for a string by hashing its lowercase form.

Converts the input string to lowercase (using unsigned-char-safe tolower) and returns the result of hashing that lowercase representation.

Parameters
sInput string to hash.
Returns
size_t Hash value computed from the lowercase version of s.

Definition at line 1523 of file ah-functional.cc.

References Aleph::divide_and_conquer_partition_dp().


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