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


== Synopsis


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

[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..._]#

[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..._]#

[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..._]#

[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..._]#

[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..._]#

== Exceptions


|===
| Name | Thrown on

| `system&lowbar;error`
| `s` contains an invalid query parameter        string&period;


|===

== Parameters


|===
| Name | Description

| *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]#
