Constructor
Synopsis
Declared in header </boost/url/pct_string_view.hpp#L210[boost/url/pct_string_view.hpp,window=blank_]>
pct_string_view(
const char* s,
size_t len);
Description
The newly constructed string references the specified character buffer. Ownership is not transferred.
Postconditions
this->data() == s && this->size() == len
Complexity
Linear in len
.
Exception Safety
Exceptions thrown on invalid input.
Return Value
-
void
Parameters
Name | Type |
---|---|
s |
`` |
len |
|