boost::urls::pct_string_view::pct_string_view

Constructor

Synopsis

Declared in header <boost/url/pct_string_view.hpp>

pct_string_view(core::string_view s);

Description

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.

Exceptions

Name Thrown on

The

string contains an invalid percent encoding.

Parameters

Name Description

s

The string to construct from.