:relfileprefix: ../../../
[#boost-urls-params_encoded_view-2constructor]

== xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/params_encoded_view.adoc[pass:[params_encoded_view]]::params_encoded_view

  


Constructor



=== Synopsis
  

[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
xref:boost/urls/params_encoded_view/2constructor-02.adoc[pass:[params_encoded_view]]() = default;
----

[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
xref:boost/urls/params_encoded_view/2constructor-06.adoc[pass:[params_encoded_view]](xref:boost/urls/params_encoded_view.adoc[params_encoded_view] const& other) = default;
----

[source,cpp,subs="verbatim,macros,-callouts"]
----
xref:boost/urls/params_encoded_view/2constructor-0c.adoc[pass:[params_encoded_view]](core::string_view s);
----
  
=== Description


Default-constructed params have
zero elements.
[,cpp]
----
params_encoded_view qp;
----
[,cpp]
----
return params_encoded_view( "" );
----

=== Constant.

=== Throws nothing.


=== Exceptions

|===
| Name | Thrown on

| ``s``
| 
contains an invalid query parameter
string.

|===


=== Parameters

|===
| Name | Description 

| *s*
| 
The string to parse.

|===




