Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

pchars

The path character set.

Synopsis

Defined in header <boost/url/rfc/pchars.hpp>

constexpr auto pchars =
    unreserved_chars + sub_delim_chars + ':' + '@';
Example

Character sets are used with rules and the functions grammar::find_if and grammar::find_if_not.

result< decode_view > rv = grammar::parse( "Program%20Files", pchars );
BNF
pchar         = unreserved / pct-encoded / sub-delims / ":" / "@"
Specification
See Also

grammar::find_if, grammar::find_if_not, grammar::parse, pct_encoded_rule.

Convenience header <boost/url.hpp>


PrevUpHomeNext