:relfileprefix: ../../../
[#E9091180648EAE5063F70DE80AC5A887C78A4AD0]

= Function params_encoded_ref::append

pass:v,q[Append params]


== Synopsis

Declared in header `</boost/url/params_encoded_ref.hpp#L396[boost/url/params_encoded_ref.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
xref:boost/urls/params_encoded_base.adoc[params_encoded_base]::xref:boost/urls/params_encoded_base/iterator.adoc[iterator]
append(initializer_list<xref:boost/urls/param_pct_view.adoc[param_pct_view]> init);
----

== Description

pass:v,q[This function appends the params in] pass:v,q[an] pass:v,q[initializer-list]
pass:v,q[to the view.]
pass:v,q[The `end()` iterator is invalidated.]

=== Example
[,cpp]
----
url u;

u.encoded_params().append({ {"first", "John"}, {"last", "Doe"} });
----

=== Complexity
pass:v,q[Linear in `this->url().encoded_query().size()`.]

=== Exception Safety
pass:v,q[Strong guarantee.]
pass:v,q[Calls to allocate may throw.]
pass:v,q[Exceptions thrown on invalid input.]



== Return Value

* `iterator` 


== Parameters

|===
| Name | Type 

| *init*
| `initializer_list`

|===



