System::String::operator+ method

String::operator+(char_t) const method

Adds character to the end of the string.

String System::String::operator+(char_t x) const
ParameterTypeDescription
xchar_tCharacter to add.

ReturnValue

String concatenation result.

See Also

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

String concatenation operator.

String System::String::operator+(const String &str) const
ParameterTypeDescription
strconst String&String to add to the end of current one.

ReturnValue

Concatenated string.

See Also

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
ParameterDescription
TOne of string literal or character string pointer forms.
ParameterTypeDescription
argconst T&Entity to concatenate with current string.

ReturnValue

Concatenated string.

See Also

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
ParameterDescription
Tpointer type.
ParameterTypeDescription
valueconst T&Object to convert to string using ToString() call and to add to current string.

ReturnValue

String concatenation result.

See Also

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
ParameterDescription
TValue type to call ToString() upon.
ParameterTypeDescription
valueconst T&Object to convert to string using ToString() call and to add to current string.

ReturnValue

String concatenation result.

See Also

String::operator+(double) const method

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

String System::String::operator+(double d) const
ParameterTypeDescription
ddoubleValue to convert to string and to add.

ReturnValue

String concatenation result.

See Also

String::operator+(int) const method

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

String System::String::operator+(int i) const
ParameterTypeDescription
iintInteger value to convert to string and to add.

ReturnValue

String concatenation result.

See Also

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
ParameterTypeDescription
vint64_tValue to convert to string and to add to add.

ReturnValue

String concatenation result.

See Also

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
ParameterDescription
TValue type to concatenate with string. Must be bool
ParameterTypeDescription
argTBoolean value to convert to string and to add.

ReturnValue

String concatenation result.

See Also

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
ParameterTypeDescription
iuint32_tValue to convert to string and to add.

ReturnValue

String concatenation result.

See Also