pct_string_view

Constructor

Synopsis

void pct_string_view( string_view s);

Declared in file <src/pct_string_view.cpp> at line 37

Description

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

Postconditions

this->data() == s.data() && this->size() == s.size()

Complexity

Linear in `s.size()`.

Exception Safety

Exceptions thrown on invalid input.