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 a snapshot of the master branch, built from commit 5002c2d6a2.
PrevUpHomeNext

unreserved_chars

The unreserved character set.

Synopsis

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

constexpr grammar::lut_chars unreserved_chars =
    "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    "abcdefghijklmnopqrstuvwxyz"
    "0123456789"
    "-._~";
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", pct_encoded_rule( unreserved_chars ) );
BNF
unreserved    = ALPHA / DIGIT / "-" / "." / "_" / "~"
Specification
See Also

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

Convenience header <boost/url.hpp>


PrevUpHomeNext