|  | Home | Libraries | People | FAQ | More | 
Assign characters to a string.
string& assign( string_view s);
Replaces the contents with those of a string view. This view can contain null characters.
            Linear in s.size().
          
            Strong guarantee. Calls to memory_resource::allocate
            may throw.
          
            *this
          
| Name | Description | 
|---|---|
| 
                       | The string view to copy from. | 
| Type | Thrown On | 
|---|---|
| 
                       | 
                       |