Assign a new value to this string.

Synopsis

Declared in <bslstl_string.h>

basic_string&
operator=(CHAR_TYPE const* rhs);

Description

Assign to this string the value of the specified null‐terminated rhs string (of length CHAR_TRAITS::length(characterString)), and return a reference providing modifiable access to this string.

Return Value

reference providing modifiable access to this string

Parameters

Name

Description

rhs

right‐hand operand

Created with MrDocs