MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
shcore::string_hash Struct Reference

Transparent hashing function, enables heterogeneous lookup in unordered containers. More...

#include <utils_string.h>

Public Types

using is_transparent = void
 

Public Member Functions

size_t operator() (const char *txt) const
 
size_t operator() (std::string_view txt) const
 
size_t operator() (const std::string &txt) const
 

Detailed Description

Transparent hashing function, enables heterogeneous lookup in unordered containers.

Member Typedef Documentation

◆ is_transparent

Member Function Documentation

◆ operator()() [1/3]

size_t shcore::string_hash::operator() ( const char *  txt) const
inline

◆ operator()() [2/3]

size_t shcore::string_hash::operator() ( const std::string &  txt) const
inline

◆ operator()() [3/3]

size_t shcore::string_hash::operator() ( std::string_view  txt) const
inline

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