[#boost-urls-decode_view-front]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/decode_view.adoc[decode&lowbar;view]::front
:relfileprefix: ../../../
:mrdocs:

Return the first character

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/decode_view/reference.adoc[reference]
front() const noexcept;
----

== Example

[,cpp]
----
assert( decode_view( "Program%20Files" ).front() == 'P' );
----
== Preconditions

[,cpp]
----
not this->empty()
----
== Complexity

Constant&period;

== Exception Safety

Throws nothing&period;

== Return Value

The first decoded character


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