boost::urls::grammar::parse

Parse a character buffer using a rule

Synopsis

Declared in <boost/url/grammar/parse.hpp>

template<Rule R>
constexpr
system::result<R::value_type>
parse(
    char const*& it,
    char const* end,
    R const& r);

Return Value

The parsed value upon success, otherwise an error.

Parameters

NameDescription
itA pointer to the start. The caller's variable is changed to reflect the amount of input consumed.
endA pointer to the end.
rThe rule to use