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 41715b1c50.
PrevUpHomeNext

grammar::hexdig_chars

The set of hexadecimal digits.

Synopsis

Defined in header <boost/url/grammar/hexdig_chars.hpp>

constexpr implementation-defined hexdig_chars;
Example

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

result< string_view > rv = parse( "8086FC19", token_rule( hexdig_chars ) );
BNF
HEXDIG      = DIGIT
            / "A" / "B" / "C" / "D" / "E" / "F"
            / "a" / "b" / "c" / "d" / "e" / "f"
Remarks

The RFCs are inconsistent on the case sensitivity of hexadecimal digits. Existing uses suggest case-insensitivity is a de-facto standard.

Specification
See Also

find_if, find_if_not, hexdig_value, parse, token_rule.

Convenience header <boost/url/grammar.hpp>


PrevUpHomeNext