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 = [link url.ref.boost__urls__url_view `url_view`];
Example

Rules are used with the function grammar::parse.

system::result< url_view > rv = [link url.ref.boost__urls__grammar__parse `grammar::parse`]( "images/dot.gif?v=hide#a" , [link url.ref.boost__urls__relative_ref_rule `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