...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Parse a character buffer using a rule.
Defined in header <boost/url/grammar/parse.hpp>
template< class Rule> result< typename Rule::value_type > parse( string_view s, Rule const& r);
This function parses a complete string into the specified sequence of rules. If the string is not completely consumed, an error is returned instead.
Name |
Description |
---|---|
|
The input string |
|
The rule to use |
The parsed value upon success, otherwise an error.
Convenience header <boost/url/grammar.hpp>