...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Rule for URI-reference.
Defined in header <boost/url/rfc/uri_reference_rule.hpp>
constexpr implementation-defined uri_reference_rule {};
using value_type = url_view;
;
Rules are used with the function grammar::parse
.
system::result< url_view > rv = grammar::parse( "ws://echo.example.com/?name=boost#demo" , uri_reference_rule );
URI-reference = URI / relative-ref URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] relative-ref = relative-part [ "?" query ] [ "#" fragment ]
grammar::parse
,
parse_uri_reference
,
url_view
.
Convenience header <boost/url.hpp>