pct_string_view

Constructor

Synopsis

pct_string_view(
    const char* s,
    size_t len);

Defined in file <include/boost/url/pct_string_view.hpp> on line 210

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.