MySQL 8.0.40
Source Code Documentation
Collation_key_equal Class Reference

A KeyEqual that compares std::strings according to a MySQL collation. More...

#include <map_helpers.h>

Public Member Functions

 Collation_key_equal (const CHARSET_INFO *cs_arg)
 
size_t operator() (const std::string &a, const std::string &b) const
 

Private Attributes

const CHARSET_INFOcs
 
decltype(cs->coll->strnncollsp) strnncollsp
 

Detailed Description

A KeyEqual that compares std::strings according to a MySQL collation.

Constructor & Destructor Documentation

◆ Collation_key_equal()

Collation_key_equal::Collation_key_equal ( const CHARSET_INFO cs_arg)
inlineexplicit

Member Function Documentation

◆ operator()()

size_t Collation_key_equal::operator() ( const std::string &  a,
const std::string &  b 
) const
inline

Member Data Documentation

◆ cs

const CHARSET_INFO* Collation_key_equal::cs
private

◆ strnncollsp

decltype(cs->coll->strnncollsp) Collation_key_equal::strnncollsp
private

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