Cppcheck
Classes | Functions
MatchCompiler Namespace Reference

Classes

class  ConstString
 

Functions

template<unsigned int n>
bool equalN (const char s1[], const char s2[])
 
template<>
bool equalN< 0 > (const char[], const char[])
 
template<unsigned int n>
bool operator== (const std::string &s1, ConstString< n > const &s2)
 
template<unsigned int n>
bool operator!= (const std::string &s1, ConstString< n > const &s2)
 
template<unsigned int n>
ConstString< n > makeConstString (const char(&s)[n])
 

Function Documentation

◆ equalN()

template<unsigned int n>
bool MatchCompiler::equalN ( const char  s1[],
const char  s2[] 
)
inline

Definition at line 43 of file matchcompiler.h.

◆ equalN< 0 >()

template<>
bool MatchCompiler::equalN< 0 > ( const char  [],
const char  [] 
)
inline

Definition at line 49 of file matchcompiler.h.

◆ makeConstString()

template<unsigned int n>
ConstString<n> MatchCompiler::makeConstString ( const char(&)  s[n])
inline

Definition at line 67 of file matchcompiler.h.

◆ operator!=()

template<unsigned int n>
bool MatchCompiler::operator!= ( const std::string &  s1,
ConstString< n > const &  s2 
)
inline

Definition at line 61 of file matchcompiler.h.

References operator==().

◆ operator==()

template<unsigned int n>
bool MatchCompiler::operator== ( const std::string &  s1,
ConstString< n > const &  s2 
)
inline

Definition at line 55 of file matchcompiler.h.

Referenced by operator!=().