Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
pct_string_view::pct_string_view (6 of 7 overloads)

Constructor.

Synopsis
pct_string_view(
    char const* first,
    char const* last);
Description

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

Postconditions
this->data() == first && this->data() + this->size() == last
Complexity

Linear in len.

Exception Safety

Exceptions thrown on invalid input.

Exceptions

Type

Thrown On

system_error

The string contains an invalid percent encoding.

Parameters

Name

Description

first, last

The string to construct from.


PrevUpHomeNext