Constructor
<boost/url/pct_string_view.hpp>
pct_string_view(
char const* s,
std::size_t len);
The newly constructed string references the specified character buffer. Ownership is not transferred.
this->data() == s && this->size() == len
Linear in len.
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. |
| len | The length of the string. |