rapidyaml  0.16.0
parseandemitYAML,anddoitfast
left-compare a string literal with a csubstr

Functions

template<typename C , size_t N>
bool c4::operator== (const char(&arr)[N], basic_substring< C > const that) noexcept
 
template<typename C , size_t N>
bool c4::operator!= (const char(&arr)[N], basic_substring< C > const that) noexcept
 
template<typename C , size_t N>
bool c4::operator< (const char(&arr)[N], basic_substring< C > const that) noexcept
 
template<typename C , size_t N>
bool c4::operator> (const char(&arr)[N], basic_substring< C > const that) noexcept
 
template<typename C , size_t N>
bool c4::operator<= (const char(&arr)[N], basic_substring< C > const that) noexcept
 
template<typename C , size_t N>
bool c4::operator>= (const char(&arr)[N], basic_substring< C > const that) noexcept
 

Detailed Description

Function Documentation

template<typename C , size_t N>
bool c4::operator== ( const char(&)  arr[N],
basic_substring< C > const  that 
)
inlinenoexcept

Definition at line 2448 of file substr.hpp.

2448 { return that.compare(arr, N-1) == 0; }
template<typename C , size_t N>
bool c4::operator!= ( const char(&)  arr[N],
basic_substring< C > const  that 
)
inlinenoexcept

Definition at line 2449 of file substr.hpp.

2449 { return that.compare(arr, N-1) != 0; }
template<typename C , size_t N>
bool c4::operator< ( const char(&)  arr[N],
basic_substring< C > const  that 
)
inlinenoexcept

Definition at line 2450 of file substr.hpp.

2450 { return that.compare(arr, N-1) > 0; }
template<typename C , size_t N>
bool c4::operator> ( const char(&)  arr[N],
basic_substring< C > const  that 
)
inlinenoexcept

Definition at line 2451 of file substr.hpp.

2451 { return that.compare(arr, N-1) < 0; }
template<typename C , size_t N>
bool c4::operator<= ( const char(&)  arr[N],
basic_substring< C > const  that 
)
inlinenoexcept

Definition at line 2452 of file substr.hpp.

2452 { return that.compare(arr, N-1) >= 0; }
template<typename C , size_t N>
bool c4::operator>= ( const char(&)  arr[N],
basic_substring< C > const  that 
)
inlinenoexcept

Definition at line 2453 of file substr.hpp.

2453 { return that.compare(arr, N-1) <= 0; }