[#boost-urls-pct_string_view-2constructor-07]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/pct_string_view.adoc[pct&lowbar;string&lowbar;view]::pct&lowbar;string&lowbar;view
:relfileprefix: ../../../
:mrdocs:

Constructor

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
pct&lowbar;string&lowbar;view(xref:boost/urls/pct_string_view.adoc[pct&lowbar;string&lowbar;view] const& other) = default;
----

== Description

The copy references the same underlying character buffer&period; Ownership is not transferred&period;

== Postconditions

[,cpp]
----
this->data() == other.data()
----
== Complexity

Constant&period;

== Exception Safety

Throws nothing&period;

== Parameters

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

| *other*
| The string to copy&period;
|===


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