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 9753a37322.
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.

system::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