cpp/string/basic string/assign range

Replaces the contents of the string with the values in the range.

Equivalent to

Complexity
Linear in size of.

Exceptions
If the operation would result in size max_size, throws std.