[#B7D2A57D498C57F2EAD1EE6D183F5DFDE0AAF97D]

Class pct_string_view

A reference to a valid percent-encoded string

Synopsis

            class pct_string_view
    : public grammar::string_view_base;
        

Types

Member Functions

Variables

Friends

Description

Objects of this type behave like a `core::string_view` and have the same interface, but offer an additional invariant: they can only be constructed from strings containing valid percent-escapes.

Attempting construction from a string containing invalid or malformed percent escapes results in an exception.

Operators

The following operators are supported between pct_string_view and any object that is convertible to `core::string_view`

bool operator==( pct_string_view, pct_string_view ) noexcept; bool operator!=( pct_string_view, pct_string_view ) noexcept; bool operator<=( pct_string_view, pct_string_view ) noexcept; bool operator< ( pct_string_view, pct_string_view ) noexcept; bool operator> ( pct_string_view, pct_string_view ) noexcept; bool operator>=( pct_string_view, pct_string_view ) noexcept;