front

Return the first character

Synopsis

reference front() noexcept;

Declared in file <boost/url/impl/decode_view.hpp> at line 149

Description

Example

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

Preconditions

not this->empty()

Complexity

Constant.

Exception Safety

Throws nothing.