[#boost-urls-segments_ref-operator_assign-0d9]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/segments_ref.adoc[segments&lowbar;ref]::operator&equals;
:relfileprefix: ../../../
:mrdocs:


== Synopsis


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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/segments_ref.adoc[segments&lowbar;ref]&
xref:boost/urls/segments_ref/operator_assign-0d4.adoc[operator&equals;](xref:boost/urls/segments_ref.adoc[segments&lowbar;ref] const& other);
----

[.small]#xref:boost/urls/segments_ref/operator_assign-0d4.adoc[_» more..._]#

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/segments_ref.adoc[segments&lowbar;ref]&
xref:boost/urls/segments_ref/operator_assign-08.adoc[operator&equals;](xref:boost/urls/segments_view.adoc[segments&lowbar;view] const& other);
----

[.small]#xref:boost/urls/segments_ref/operator_assign-08.adoc[_» more..._]#

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/segments_ref.adoc[segments&lowbar;ref]&
xref:boost/urls/segments_ref/operator_assign-0f.adoc[operator&equals;](std::initializer&lowbar;list&lt;core::string&lowbar;view&gt; init);
----

[.small]#xref:boost/urls/segments_ref/operator_assign-0f.adoc[_» more..._]#

== Parameters


|===
| Name | Description

| *other*
| The segments to assign&period;


| *init*
| The list of segments to assign&period;


|===



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