Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
decode_view::front

Return the first character.

Synopsis
reference
front() const;
Example
assert( [link url.ref.boost__urls__decode_view.decode_view `decode_view`]( "Program%20Files" ).[link url.ref.boost__urls__decode_view.front `front`]() == 'P' );
Preconditions
not this->[link url.ref.boost__urls__decode_view.empty `empty`]()
Complexity

Constant.

Exception Safety

Throws nothing.


PrevUpHomeNext