Parse a character buffer using a rule

Synopsis

Declared in header </boost/url/grammar/parse.hpp#L65[boost/url/grammar/parse.hpp,window=blank_]>

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

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.

Return Value

  • result

Parameters

Name Type

s

string_view

r

``