ldas-tools-al  2.6.4
Public Member Functions | List of all members
LDASTools::AL::ic_hash< std::string > Struct Template Reference

Case-Insensitive String Hash Specialization. More...

#include <util.hh>

Public Member Functions

std::size_t operator() (const std::string &s) const
 Overloaded call operator. More...
 
std::size_t operator() (const std::string &s) const
 Overloaded call operator. More...
 
std::size_t operator() (const std::string &s) const
 Overloaded call operator. More...
 

Detailed Description

template<>
struct LDASTools::AL::ic_hash< std::string >

Case-Insensitive String Hash Specialization.

A specialization of the STL hash functional to perform a case-insensitive hash of a C++ string.

Member Function Documentation

◆ operator()() [1/3]

std::size_t LDASTools::AL::ic_hash< std::string >::operator() ( const std::string &  s) const
inline

Overloaded call operator.

Parameters
sA reference to the string representing the search key.
Returns
size_t Index into the hash.

◆ operator()() [2/3]

std::size_t LDASTools::AL::ic_hash< std::string >::operator() ( const std::string &  s) const
inline

Overloaded call operator.

Parameters
sA reference to the string representing the search key.
Returns
size_t Index into the hash.

◆ operator()() [3/3]

std::size_t LDASTools::AL::ic_hash< std::string >::operator() ( const std::string &  s) const
inline

Overloaded call operator.

Parameters
sA reference to the string representing the search key.
Returns
size_t Index into the hash.

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