rapidyaml  0.16.0
parseandemitYAML,anddoitfast
left-compare a single char with a csubstr

Functions

template<typename C >
bool c4::operator== (const char c, basic_substring< C > const that) noexcept
 
template<typename C >
bool c4::operator!= (const char c, basic_substring< C > const that) noexcept
 
template<typename C >
bool c4::operator< (const char c, basic_substring< C > const that) noexcept
 
template<typename C >
bool c4::operator> (const char c, basic_substring< C > const that) noexcept
 
template<typename C >
bool c4::operator<= (const char c, basic_substring< C > const that) noexcept
 
template<typename C >
bool c4::operator>= (const char c, basic_substring< C > const that) noexcept
 

Detailed Description

Function Documentation

template<typename C >
bool c4::operator== ( const char  c,
basic_substring< C > const  that 
)
inlinenoexcept

Definition at line 2438 of file substr.hpp.

Referenced by c4::yml::Callbacks::operator!=(), c4::yml::ConstNodeRef::operator!=(), and c4::yml::NodeRef::operator!=().

2438 { return that.compare(c) == 0; }
template<typename C >
bool c4::operator!= ( const char  c,
basic_substring< C > const  that 
)
inlinenoexcept

Definition at line 2439 of file substr.hpp.

2439 { return that.compare(c) != 0; }
template<typename C >
bool c4::operator< ( const char  c,
basic_substring< C > const  that 
)
inlinenoexcept

Definition at line 2440 of file substr.hpp.

2440 { return that.compare(c) > 0; }
template<typename C >
bool c4::operator> ( const char  c,
basic_substring< C > const  that 
)
inlinenoexcept

Definition at line 2441 of file substr.hpp.

2441 { return that.compare(c) < 0; }
template<typename C >
bool c4::operator<= ( const char  c,
basic_substring< C > const  that 
)
inlinenoexcept

Definition at line 2442 of file substr.hpp.

2442 { return that.compare(c) >= 0; }
template<typename C >
bool c4::operator>= ( const char  c,
basic_substring< C > const  that 
)
inlinenoexcept

Definition at line 2443 of file substr.hpp.

2443 { return that.compare(c) <= 0; }