Function parse

Parse a character buffer using a rule

Synopsis

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

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

Return Value

The parsed value upon success, otherwise an error.

Parameters

Name Description

it

A pointer to the start. The caller’s variable is changed to reflect the amount of input consumed.

end

A pointer to the end.

r

The rule to use