rapidyaml  0.12.1
parse and emit YAML, and do it fast
substr comparison operators

Functions

template<typename C , size_t N>
bool c4::operator== (const char(&s)[N], basic_substring< C > const that) noexcept
 
template<typename C , size_t N>
bool c4::operator!= (const char(&s)[N], basic_substring< C > const that) noexcept
 
template<typename C , size_t N>
bool c4::operator< (const char(&s)[N], basic_substring< C > const that) noexcept
 
template<typename C , size_t N>
bool c4::operator> (const char(&s)[N], basic_substring< C > const that) noexcept
 
template<typename C , size_t N>
bool c4::operator<= (const char(&s)[N], basic_substring< C > const that) noexcept
 
template<typename C , size_t N>
bool c4::operator>= (const char(&s)[N], 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
 
template<typename C >
bool c4::operator>= (const char c, basic_substring< C > const that) noexcept
 

Detailed Description

Function Documentation

◆ operator==() [1/2]

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

Definition at line 2288 of file substr.hpp.

2288 { return that.compare(s, N-1) == 0; }

◆ operator!=() [1/2]

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

Definition at line 2289 of file substr.hpp.

2289 { return that.compare(s, N-1) != 0; }

◆ operator<() [1/2]

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

Definition at line 2290 of file substr.hpp.

2290 { return that.compare(s, N-1) > 0; }

◆ operator>() [1/2]

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

Definition at line 2291 of file substr.hpp.

2291 { return that.compare(s, N-1) < 0; }

◆ operator<=() [1/2]

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

Definition at line 2292 of file substr.hpp.

2292 { return that.compare(s, N-1) >= 0; }

◆ operator>=() [1/2]

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

Definition at line 2293 of file substr.hpp.

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

◆ operator==() [2/2]

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

Definition at line 2295 of file substr.hpp.

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

◆ operator!=() [2/2]

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

Definition at line 2296 of file substr.hpp.

2296 { return that.compare(c) != 0; }

◆ operator<() [2/2]

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

Definition at line 2297 of file substr.hpp.

2297 { return that.compare(c) > 0; }

◆ operator>() [2/2]

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

Definition at line 2298 of file substr.hpp.

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

◆ operator<=() [2/2]

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

Definition at line 2299 of file substr.hpp.

2299 { return that.compare(c) >= 0; }

◆ operator>=() [2/2]

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

Definition at line 2300 of file substr.hpp.

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