System::String::operator= method

String::operator=(const String&) method

Assignment operator.

String & System::String::operator=(const String &str)
ParameterTypeDescription
strconst String&String to copy.

ReturnValue

Self reference.

See Also

String::operator=(String&&) method

Move assignment operator.

String & System::String::operator=(String &&str) noexcept
ParameterTypeDescription
strString&&String to move data from.

ReturnValue

Self reference.

See Also