54 operator String()
const {
return getDefault(); }
70extern NewLine newLine;
79inline String& operator<< (String& string1,
const NewLine&) {
return string1 +=
NewLine::getDefault(); }
80inline String& operator+= (String& s1,
const NewLine&) {
return s1 +=
NewLine::getDefault(); }
84inline String operator+ (
const NewLine&,
const char* s2) {
return String (
NewLine::getDefault()) + s2; }
Holds a resizable array of primitive or copy-by-value objects.
This class is used for represent a new-line character sequence.
static const char * getDefault() noexcept
Returns the default new-line sequence that the library uses.
A simple class for holding temporary references to a string literal or String.
#define JUCE_API
This macro is added to all JUCE public class declarations.