Home | Libraries | People | FAQ | More |
Return a validated percent-encoded string.
Defined in header <boost/url/pct_string_view.hpp>
result< pct_string_view > make_pct_string_view( string_view s);
This function attempts to construct a percent-encoded string from a character buffer. Upon success, the valid string is returned. Otherwise the result contains an error code. The new string will reference the existing character buffer. Ownership is not transferred.
Linear in s.size()
.
Throws nothing.
Convenience header <boost/url.hpp>