Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
grammar::parse (1 of 2 overloads)

Parse a character buffer using a rule.

Synopsis

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

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

Name

Description

it

A pointer to the start. The caller's variable will be changed to reflect the amount of input consumed.

end

A pointer to the end.

r

The rule to use

Return Value

The parsed value upon success, otherwise an error.

See Also

result.

Convenience header <boost/url/grammar.hpp>


PrevUpHomeNext