Constructor
The newly constructed string references the specified character buffer. Ownership is not transferred.
this->data() == s.data() && this->size() == s.size()
Linear in s.size().
Exceptions thrown on invalid input.
| Name | Thrown on | 
|---|---|
| system_error | The string contains an invalid percent encoding. | 
| Name | Description | 
|---|---|
| s | The string to construct from. |