Function decode_view::front

Return the first character

Synopsis

Declared in header <boost/url/decode_view.hpp>

reference
front() const noexcept;

Description

Example

assert( decode_view( "Program%20Files" ).front() == 'P' );

Preconditions

not this->empty()

Complexity

Constant.

Exception Safety

Throws nothing.