cpp/string/basic string/replace with range

Replaces the characters in the range with the characters from the range.

Equivalent to

Complexity
Linear in size of.

Exceptions
Throws std if the resulting string size would exceed.