boost::urls::pct_string_view::pct_string_view

Constructor

Synopsis

pct_string_view(
    char const* s,
    std::size_t len);
cpp

Description

The newly constructed string references the specified character buffer. Ownership is not transferred.

this->data() == s && this->size() == len
cpp

Complexity

Linear in len.

Exception Safety

Exceptions thrown on invalid input.

Exceptions

Name Thrown on

system_error

The string contains an invalid percent encoding.

Parameters

Name Description

s

The string to construct from.

len

The length of the string.

Created with MrDocs