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

relative_ref_rule

Rule for relative-ref.

Synopsis

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

constexpr implementation-defined relative_ref_rule;
Value Type
using value_type = url_view;
Example

Rules are used with the function grammar::parse.

result< url_view > rv = grammar::parse( "images/dot.gif?v=hide#a", relative_ref_rule );
BNF
relative-ref  = relative-part [ "?" query ] [ "#" fragment ]
Specification
See Also

grammar::parse, parse_relative_ref, url_view.

Convenience header <boost/url.hpp>


PrevUpHomeNext