Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Constructor.
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.
|
Type |
Thrown On |
|---|---|
|
|
The string contains an invalid percent encoding. |
|
Name |
Description |
|---|---|
|
|
The string to construct from. |