[#boost-urls-params_encoded_view-2conversion]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/params_encoded_view.adoc[params&lowbar;encoded&lowbar;view]::operator xref:boost/urls/params_view.adoc[params&lowbar;view]
:relfileprefix: ../../../
:mrdocs:


Conversion

== Synopsis


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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
operator xref:boost/urls/params_view.adoc[params&lowbar;view]() const noexcept;
----

== Description


This conversion returns a new view which        references the same underlying character        buffer, and whose iterators and members        return ordinary strings with decoding        applied to any percent escapes&period;

Ownership is not transferred&semi; the caller        is responsible for ensuring the lifetime        of the buffer extends until it is no        longer referenced&period;


=== Example

[,cpp]
----
params_view qp = parse_path( "/path/to/file.txt" ).value();
----

=== Postconditions

[,cpp]
----
params_view( *this ).buffer().data() == this->buffer().data()
----

=== Complexity

Constant


=== Exception Safety

Throws nothing





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