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


== Synopsis


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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/params_base/iterator.adoc[iterator]
xref:boost/urls/params_ref/set-09.adoc[set](
    xref:boost/urls/params_base/iterator.adoc[iterator] pos,
    core::string&lowbar;view value);
----

[.small]#xref:boost/urls/params_ref/set-09.adoc[_» more..._]#

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/params_base/iterator.adoc[iterator]
xref:boost/urls/params_ref/set-01.adoc[set](
    core::string&lowbar;view key,
    core::string&lowbar;view value,
    xref:boost/urls/ignore_case_param.adoc[ignore&lowbar;case&lowbar;param] ic = &lcub;&rcub;);
----

[.small]#xref:boost/urls/params_ref/set-01.adoc[_» more..._]#

== Parameters


|===
| Name | Description

| *pos*
| An iterator to the element&period;


| *value*
| The value to assign&period; The        empty string still counts as a value&period;        That is, `has&lowbar;value` for the element        is true&period;


| *key*
| The key to match&period;        By default, a case&hyphen;sensitive        comparison is used&period;


| *ic*
| An optional parameter&period; If        the value xref:boost/urls/ignore_case.adoc[ignore&lowbar;case] is passed        here, the comparison is        case&hyphen;insensitive&period;


|===



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