[#boost-urls-params_encoded_ref-append-09]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/params_encoded_ref.adoc[params&lowbar;encoded&lowbar;ref]::append
:relfileprefix: ../../../
:mrdocs:

Append params

== Synopses

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

Append params


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/params_encoded_base/iterator.adoc[iterator]
xref:boost/urls/params_encoded_ref/append-0e.adoc[append](std::initializer&lowbar;list&lt;param&lowbar;pct&lowbar;view&gt; init);
----

[.small]#xref:boost/urls/params_encoded_ref/append-0e.adoc[_» more&period;&period;&period;_]#

Append params


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/params_encoded_base/iterator.adoc[iterator]
xref:boost/urls/params_encoded_ref/append-07.adoc[append](xref:boost/urls/param_pct_view.adoc[param&lowbar;pct&lowbar;view] const& p);
----

[.small]#xref:boost/urls/params_encoded_ref/append-07.adoc[_» more&period;&period;&period;_]#

Append params


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class FwdIt&gt;
xref:boost/urls/params_encoded_base/iterator.adoc[iterator]
xref:boost/urls/params_encoded_ref/append-08.adoc[append](
    FwdIt first,
    FwdIt last);
----

[.small]#xref:boost/urls/params_encoded_ref/append-08.adoc[_» more&period;&period;&period;_]#

== Exceptions

[cols="1,4"]
|===
| Name
| Thrown on
| `system&lowbar;error`
| `init` contains an invalid percent&hyphen;encoding&period;
|===

== Return Value

* An iterator to the first new element&period;
* An iterator to the new element&period;

== Parameters

[cols="1,4"]
|===
|Name|Description

| *init*
| The list of params to append&period;
| *p*
| The param to append&period;
| *first*
| The first element to append&period;
| *last*
| One past the last element to append&period;
|===


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