rapidyaml 0.14.0
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches

Functions

template<typename U, typename C>
auto c4::operator== (U c_str, basic_substring< C > const that) noexcept -> typename std::enable_if< is_compatible_char_ptr< U, C >::value, bool >::type
template<typename U, typename C>
auto c4::operator!= (U c_str, basic_substring< C > const that) noexcept -> typename std::enable_if< is_compatible_char_ptr< U, C >::value, bool >::type
template<typename U, typename C>
auto c4::operator< (U c_str, basic_substring< C > const that) noexcept -> typename std::enable_if< is_compatible_char_ptr< U, C >::value, bool >::type
template<typename U, typename C>
auto c4::operator> (U c_str, basic_substring< C > const that) noexcept -> typename std::enable_if< is_compatible_char_ptr< U, C >::value, bool >::type
template<typename U, typename C>
auto c4::operator<= (U c_str, basic_substring< C > const that) noexcept -> typename std::enable_if< is_compatible_char_ptr< U, C >::value, bool >::type
template<typename U, typename C>
auto c4::operator>= (U c_str, basic_substring< C > const that) noexcept -> typename std::enable_if< is_compatible_char_ptr< U, C >::value, bool >::type

Detailed Description

Function Documentation

◆ operator==()

template<typename U, typename C>
auto c4::operator== ( U c_str,
basic_substring< C > const that )->typenamestd::enable_if< is_compatible_char_ptr< U, C >::value, bool >::type
inlinenoexcept

Definition at line 2459 of file substr.hpp.

2459{ return that.compare(c_str, strlen(c_str)) == 0; }
int compare(C const c) const noexcept
Definition substr.hpp:385

◆ operator!=()

template<typename U, typename C>
auto c4::operator!= ( U c_str,
basic_substring< C > const that )->typenamestd::enable_if< is_compatible_char_ptr< U, C >::value, bool >::type
inlinenoexcept

Definition at line 2460 of file substr.hpp.

2460{ return that.compare(c_str, strlen(c_str)) != 0; }

◆ operator<()

template<typename U, typename C>
auto c4::operator< ( U c_str,
basic_substring< C > const that )->typenamestd::enable_if< is_compatible_char_ptr< U, C >::value, bool >::type
inlinenoexcept

Definition at line 2461 of file substr.hpp.

2461{ return that.compare(c_str, strlen(c_str)) > 0; }

◆ operator>()

template<typename U, typename C>
auto c4::operator> ( U c_str,
basic_substring< C > const that )->typenamestd::enable_if< is_compatible_char_ptr< U, C >::value, bool >::type
inlinenoexcept

Definition at line 2462 of file substr.hpp.

2462{ return that.compare(c_str, strlen(c_str)) < 0; }

◆ operator<=()

template<typename U, typename C>
auto c4::operator<= ( U c_str,
basic_substring< C > const that )->typenamestd::enable_if< is_compatible_char_ptr< U, C >::value, bool >::type
inlinenoexcept

Definition at line 2463 of file substr.hpp.

2463{ return that.compare(c_str, strlen(c_str)) >= 0; }

◆ operator>=()

template<typename U, typename C>
auto c4::operator>= ( U c_str,
basic_substring< C > const that )->typenamestd::enable_if< is_compatible_char_ptr< U, C >::value, bool >::type
inlinenoexcept

Definition at line 2464 of file substr.hpp.

2464{ return that.compare(c_str, strlen(c_str)) <= 0; }