operator+()

String::operator+(const String&) const method

String concatenation operator.

String System::String::operator+(const String &str) const

Arguments

ParameterTypeDescription
strconst String&String to add to the end of current one.

Return Value

Concatenated string.

String::operator+(const T&) const method

String concatenation with string literal or character string pointer.

template<typename T,std::enable_if_t< IsStringLiteral< T, char_t >::value > *> String System::String::operator+(const T &arg) const

Template parameters

ParameterDescription
TOne of string literal or character string pointer forms.

Arguments

ParameterTypeDescription
argconst T&Entity to concatenate with current string.

Return Value

Concatenated string.

String::operator+(char_t) const method

Adds character to the end of the string.

String System::String::operator+(char_t x) const

Arguments

ParameterTypeDescription
xchar_tCharacter to add.

Return Value

String concatenation result.

String::operator+(int) const method

Adds integer value string representation to the end of the string.

String System::String::operator+(int i) const

Arguments

ParameterTypeDescription
iintInteger value to convert to string and to add.

Return Value

String concatenation result.

String::operator+(uint32_t) const method

Adds unsigned integer value string representation to the end of the string.

String System::String::operator+(uint32_t i) const

Arguments

ParameterTypeDescription
iuint32_tValue to convert to string and to add.

Return Value

String concatenation result.

String::operator+(double) const method

Adds floating point value string representation to the end of the string.

String System::String::operator+(double d) const

Arguments

ParameterTypeDescription
ddoubleValue to convert to string and to add.

Return Value

String concatenation result.

String::operator+(int64_t) const method

Adds integer value string representation to the end of the string.

String System::String::operator+(int64_t v) const

Arguments

ParameterTypeDescription
vint64_tValue to convert to string and to add to add.

Return Value

String concatenation result.

String::operator+(const T&) const method

Adds reference type object string representation to the end of the string.

template<typename T,std::enable_if_t< IsSmartPtr< T >::value > *> String System::String::operator+(const T &value) const

Template parameters

ParameterDescription
Tpointer type.

Arguments

ParameterTypeDescription
valueconst T&Object to convert to string using ToString() call and to add to current string.

Return Value

String concatenation result.

String::operator+(const T&) const method

Adds value type object string representation to the end of the string.

template<typename T,std::enable_if_t<!IsSmartPtr< T >::value &&!std::is_scalar< T >::value &&!std::is_array< T >::value > *> String System::String::operator+(const T &value) const

Template parameters

ParameterDescription
TValue type to call ToString() upon.

Arguments

ParameterTypeDescription
valueconst T&Object to convert to string using ToString() call and to add to current string.

Return Value

String concatenation result.

String::operator+(T) const method

Adds boolean value string representation to the end of the string.

template<typename T,std::enable_if_t< std::is_same< T, bool >::value > *> String System::String::operator+(T arg) const

Template parameters

ParameterDescription
TValue type to concatenate with string. Must be bool

Arguments

ParameterTypeDescription
argTBoolean value to convert to string and to add.

Return Value

String concatenation result.

See Also