:relfileprefix: ../../../
[#D4A0C3890D978A53BBC44A4C610819684206B249]

= Function pct_string_view::pct_string_view

pass:v,q[Constructor]


== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
pct_string_view(string_view s);
----

== Description

pass:v,q[The newly constructed string references] pass:v,q[the specified character buffer. Ownership]
pass:v,q[is not transferred.]

=== Postconditions
[,cpp]
----
this->data() == s.data() && this->size() == s.size()
----

=== Complexity
pass:v,q[Linear in `s.size()`.]

=== Exception Safety
pass:v,q[Exceptions thrown on invalid input.]



== Return Value

* `void` 


== Parameters

|===
| Name | Type 

| *s*
| `string_view`

|===



