:relfileprefix: ../../../
[#boost-urls-grammar-range_rule-02]

= xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/grammar.adoc[pass:[grammar]]::range_rule



== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/range_rule.hpp#L554[boost/url/grammar/range_rule.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
template<
    class Rule1,
    class Rule2>
constexpr
xref:boost/urls/grammar/range_rule_t-09.adoc[range_rule_t]<Rule1, Rule2>
range_rule(
    Rule1 const& first,
    Rule2 const& next,
    xref:std.adoc[std]::size_t N = 0,
    xref:std.adoc[std]::size_t M = std::size_t(-1)) noexcept;
----







