:relfileprefix: ../../../
[#9F105232505F286C926F30D39BFBBC719951B142]

= Function segments_ref::segments_ref

pass:v,q[Constructor]


== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
segments_ref(const xref:boost/urls/segments_ref.adoc[segments_ref]& other) = default;
----

== Description

pass:v,q[After construction, both views] pass:v,q[reference the same url. Ownership is not]
pass:v,q[transferred; the caller is responsible]
pass:v,q[for ensuring the lifetime of the url]
pass:v,q[extends until it is no longer]
pass:v,q[referenced.]

=== Postconditions
[,cpp]
----
&this->url() == &other.url();
----

=== Complexity
pass:v,q[Constant.]

=== Exception Safety
pass:v,q[Throws nothing.]



== Return Value

* `void` 


== Parameters

|===
| Name | Type 

| *other*
| ``

|===



