:relfileprefix: ../../../
[#0DEE2B8DCC44C7A22EE568D0C18B6AB9C8257DE5]

= Function decode_view::front

pass:v,q[Return the first character]


== Synopsis

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

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

== Description


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

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

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

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



== Return Value

* `reference` 




