rapidyaml  0.13.0
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 2282 of file substr.hpp.

2282 { 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 2283 of file substr.hpp.

2283 { 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 2284 of file substr.hpp.

2284 { 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 2285 of file substr.hpp.

2285 { 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 2286 of file substr.hpp.

2286 { 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 2287 of file substr.hpp.

2287 { 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 2289 of file substr.hpp.

2289 { 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 2290 of file substr.hpp.

2290 { 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 2291 of file substr.hpp.

2291 { 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 2292 of file substr.hpp.

2292 { 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 2293 of file substr.hpp.

2293 { 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 2294 of file substr.hpp.

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