[#boost-urls-params_encoded_view-2constructor] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/params_encoded_view.adoc[params_encoded_view]::params_encoded_view :relfileprefix: ../../../ :mrdocs: Constructor == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/params_encoded_view.hpp#L91[boost/url/params_encoded_view.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:boost/urls/params_encoded_view/2constructor-02.adoc[params_encoded_view]() = default; ---- [.small]#xref:boost/urls/params_encoded_view/2constructor-02.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:boost/urls/params_encoded_view/2constructor-06.adoc[params_encoded_view](xref:boost/urls/params_encoded_view.adoc[params_encoded_view] const& other) = default; ---- [.small]#xref:boost/urls/params_encoded_view/2constructor-06.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:boost/urls/params_encoded_view/2constructor-0c.adoc[params_encoded_view](core::string_view s); ---- [.small]#xref:boost/urls/params_encoded_view/2constructor-0c.adoc[_» more..._]# == Description Default‐constructed params have zero elements. === Example [,cpp] ---- params_encoded_view qp; ---- === Effects [,cpp] ---- return params_encoded_view( "" ); ---- === Complexity Constant. === Exception Safety Throws nothing. == Exceptions |=== | Name | Thrown on | `system_error` | `s` contains an invalid query parameter string. |=== == Parameters |=== | Name | Description | *s* | The string to parse. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#