128 #if JUCE_STRING_UTF_TYPE != 8 && ! defined (DOXYGEN)
142inline String operator+ (StringRef s1,
const String& s2) {
return String (s1.text) + s2; }
143inline String operator+ (
const char* s1, StringRef s2) {
return String (s1) + String (s2.text); }
144inline String operator+ (StringRef s1,
const char* s2) {
return String (s1.text) + String (s2); }
Holds a resizable array of primitive or copy-by-value objects.
bool isEmpty() const noexcept
Returns true if the array is empty, false otherwise.
Wraps a pointer to a null-terminated UTF-8 character string, and provides various methods to operate ...
A simple class for holding temporary references to a string literal or String.
bool isNotEmpty() const noexcept
Returns true if the string is not empty.
int length() const noexcept
Returns the number of characters in the string.
String::CharPointerType text
The text that is referenced.
bool isEmpty() const noexcept
Returns true if the string is empty.
#define JUCE_API
This macro is added to all JUCE public class declarations.