boost::urls::grammar::parse :: Boost Libraries Documentation

# boost::urls::grammar::parse

Parse a character buffer using a rule

## Synopses

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

Parse a character buffer using a rule

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

» more...

Parse a character buffer using a rule

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

» more...

## Return Value

The parsed value upon success, otherwise an error.

## Parameters

Name | Description
--- | ---
s | The input string
r | The rule to use
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.

Created with MrDocs