rapidyaml  0.7.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

◆ 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 2227 of file substr.hpp.

2227 { 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 2228 of file substr.hpp.

2228 { 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 2229 of file substr.hpp.

2229 { 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 2230 of file substr.hpp.

2230 { 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 2231 of file substr.hpp.

2231 { 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 2233 of file substr.hpp.

2233 { 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 2234 of file substr.hpp.

2234 { 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 2235 of file substr.hpp.

2235 { 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 2236 of file substr.hpp.

2236 { 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 2237 of file substr.hpp.

2237 { 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 2238 of file substr.hpp.

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