parse

Parse a character buffer using a rule

Synopsis

template<class R>
result<Rule::value_type>
parse(
    string_view s,
    const Rule& r);

Declared in file <include/boost/url/grammar/parse.hpp> on line 65

Defined in file <include/boost/url/grammar/impl/parse.hpp> on line 41

Description

This function parses a complete string into the specified sequence of rules. If the string is not completely consumed, an error is returned instead.