[#boost-urls-params_ref-assign-05]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/params_ref.adoc[params&lowbar;ref]::assign
:relfileprefix: ../../../
:mrdocs:

Assign elements

== Synopses

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

Assign elements


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:boost/urls/params_ref/assign-098.adoc[assign](std::initializer&lowbar;list&lt;param&lowbar;view&gt; init);
----

[.small]#xref:boost/urls/params_ref/assign-098.adoc[_» more&period;&period;&period;_]#

Assign elements


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class FwdIt&gt;
void
xref:boost/urls/params_ref/assign-02.adoc[assign](
    FwdIt first,
    FwdIt last);
----

[.small]#xref:boost/urls/params_ref/assign-02.adoc[_» more&period;&period;&period;_]#

== Parameters

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

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


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