boost::urls::grammar::parse

Parse a character buffer using a rule

Synopsis

template<class Rule>
system::result<Rule::value_type>
parse(
    char const*& it,
    char const* end,
    Rule const& r);
template<class Rule>
system::result<Rule::value_type>
parse(
    core::string_view s,
    Rule const& r);

Return Value

The parsed value upon success, otherwise an error.

Parameters

Name Description

it

A pointer to the start&period; The caller&apos;s variable is changed to reflect the amount of input consumed&period;

end

A pointer to the end&period;

r

The rule to use

s

The input string

Created with MrDocs