96 operator const String::CharPointerType::CharType*()
const noexcept {
return text.getAddress(); }
111 bool operator== (
const String& s)
const noexcept {
return text.compare (s.getCharPointer()) == 0; }
113 bool operator!= (
const String& s)
const noexcept {
return text.compare (s.getCharPointer()) != 0; }
115 bool operator< (
const String& s)
const noexcept {
return text.compare (s.getCharPointer()) < 0; }
117 bool operator<= (
const String& s)
const noexcept {
return text.compare (s.getCharPointer()) <= 0; }
119 bool operator> (
const String& s)
const noexcept {
return text.compare (s.getCharPointer()) > 0; }
121 bool operator>= (
const String& s)
const noexcept {
return text.compare (s.getCharPointer()) >= 0; }
132 #if JUCE_STRING_UTF_TYPE != 8 && ! defined (DOXYGEN)
156inline String operator+ (StringRef s1,
const char* s2) {
return String (s1.text) + String (s2); }