:relfileprefix: ../../../
[#CA83D173B82948749254660C20FE11D9E0E0F083]

= Function params_ref::append

pass:v,q[Append elements]


== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
template<class FwdIt>
xref:boost/urls/params_base.adoc[params_base]::xref:boost/urls/params_base/iterator.adoc[iterator]
append(
    FwdIt first,
    FwdIt last);
----

== Description

pass:v,q[This function appends a range of params] pass:v,q[to the view.]
pass:v,q[The `end()` iterator is invalidated.]
[NOTE]
pass:v,q[The strings referenced by the inputs]
pass:v,q[must not come from the underlying url,]
pass:v,q[or else the behavior is undefined.]

=== Mandates
[,cpp]
----
std::is_convertible< std::iterator_traits< FwdIt >::reference_type, param_view >::value == true
----

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

| *first*
| `FwdIt`

| *last*
| `FwdIt`

|===



