[#boost-urls-grammar-range-2constructor-08] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::xref:boost/urls/grammar/range.adoc[range]::range :relfileprefix: ../../../../ :mrdocs: Constructor == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/range_rule.hpp#L194[boost/url/grammar/range_rule.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- range(xref:boost/urls/grammar/range.adoc[range]&&) noexcept; ---- == Description The new range references the same underlying character buffer. Ownership is not transferred; the caller is responsible for ensuring that the lifetime of the buffer extends until it is no longer referenced. The moved‐from object becomes as if default‐constructed. === Exception Safety Throws nothing. [.small]#Created with https://www.mrdocs.com[MrDocs]#