[#boost-urls-params_view-2constructor-06]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/params_view.adoc[params&lowbar;view]::params&lowbar;view
:relfileprefix: ../../../
:mrdocs:

Constructor

== Synopses

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/params_view.hpp#L131[boost&sol;url&sol;params&lowbar;view&period;hpp]&gt;`

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/params_view/2constructor-0d.adoc[params&lowbar;view]() = default;
----

[.small]#xref:boost/urls/params_view/2constructor-0d.adoc[_» more&period;&period;&period;_]#

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:boost/urls/params_view/2constructor-091.adoc[params&lowbar;view](xref:boost/urls/params_view.adoc[params&lowbar;view] const& other) = default;
----

[.small]#xref:boost/urls/params_view/2constructor-091.adoc[_» more&period;&period;&period;_]#

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/params_view/2constructor-09a.adoc[params&lowbar;view](core::string&lowbar;view s);
----

[.small]#xref:boost/urls/params_view/2constructor-09a.adoc[_» more&period;&period;&period;_]#

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/params_view/2constructor-04.adoc[params&lowbar;view](
    core::string&lowbar;view s,
    xref:boost/urls/encoding_opts.adoc[encoding&lowbar;opts] opt);
----

[.small]#xref:boost/urls/params_view/2constructor-04.adoc[_» more&period;&period;&period;_]#

Constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/params_view/2constructor-01.adoc[params&lowbar;view](
    xref:boost/urls/params_view.adoc[params&lowbar;view] const& other,
    xref:boost/urls/encoding_opts.adoc[encoding&lowbar;opts] opt) noexcept;
----

[.small]#xref:boost/urls/params_view/2constructor-01.adoc[_» more&period;&period;&period;_]#

== Exceptions

[cols="1,4"]
|===
| Name| Thrown on
| `system&lowbar;error`
| `s` contains an invalid query parameter string&period;
|===

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The object to copy
| *s*
| The string to parse&period;
| *opt*
| The options for decoding&period; If this parameter is omitted, `space&lowbar;as&lowbar;plus` is used&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
