[#boost-urls-params_view-2constructor-01] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/params_view.adoc[params_view]::params_view :relfileprefix: ../../../ :mrdocs: Constructor == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/params_view.hpp#L130[boost/url/params_view.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- params_view( xref:boost/urls/params_view.adoc[params_view] const& other, xref:boost/urls/encoding_opts.adoc[encoding_opts] opt) noexcept; ---- == Description After construction both views will reference the same character buffer but this instance will use the specified xref:boost/urls/encoding_opts.adoc[encoding_opts] when the values are decoded. Ownership is not transferred; the caller is responsible for ensuring the lifetime of the buffer extends until it is no longer referenced. === Postconditions [,cpp] ---- this->buffer().data() == other.buffer().data() ---- === Complexity Constant. === Exception Safety Throws nothing [.small]#Created with https://www.mrdocs.com[MrDocs]#