rapidyaml 0.14.0
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
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

◆ operator==()

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; }
int compare(C const c) const noexcept
Definition substr.hpp:385

◆ operator!=()

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; }

◆ operator<()

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; }

◆ operator>()

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; }

◆ operator<=()

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; }

◆ operator>=()

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

Definition at line 2444 of file substr.hpp.

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