front

Return the first character

Synopsis

reference
front() const noexcept;

Declared in file <include/boost/url/decode_view.hpp> on line 319

Defined in file <include/boost/url/impl/decode_view.hpp> on line 149

Description

Example

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

Preconditions

not this->empty()

Complexity

Constant.

Exception Safety

Throws nothing.