Boost C++ Libraries Home Libraries People FAQ More

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