Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
decode_view::back

Return the last character.

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

Constant.

Exception Safety

Throws nothing.


PrevUpHomeNext