Electroneum
Language::WordEqual Struct Reference

#include <language_base.h>

Public Member Functions

bool operator() (const epee::wipeable_string &s0, const epee::wipeable_string &s1) const
 

Detailed Description

Definition at line 153 of file language_base.h.

Member Function Documentation

◆ operator()()

bool Language::WordEqual::operator() ( const epee::wipeable_string s0,
const epee::wipeable_string s1 
) const
inline

Definition at line 155 of file language_base.h.

156  {
157  const epee::wipeable_string s0c = utf8canonical(s0);
158  const epee::wipeable_string s1c = utf8canonical(s1);
159  return s0c == s1c;
160  }
T utf8canonical(const T &s)
Definition: language_base.h:78
Here is the call graph for this function:

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