:relfileprefix: ../../../
[#F5D99DAA115AFDB88797C9D62F481F106981528F]

= Function params_ref::append

pass:v,q[Append elements]


== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
xref:boost/urls/params_base.adoc[params_base]::xref:boost/urls/params_base/iterator.adoc[iterator]
append(const xref:boost/urls/param_view.adoc[param_view]& p);
----

== Description

pass:v,q[This function appends a param to the view.]
pass:v,q[The `end()` iterator is invalidated.]

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

u.params().append( { "first", "John" } );
----

=== 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.]



== Return Value

* `iterator` 


== Parameters

|===
| Name | Type 

| *p*
| ``

|===



