Return the last character

Synopsis

Declared in header </boost/url/decode_view.hpp#L340[boost/url/decode_view.hpp,window=blank_]>

reference
back() const noexcept;

Description

Example

assert( decode_view( "Program%20Files" ).back() == 's' );

Preconditions

not this->empty()

Complexity

Constant.

Exception Safety

Throws nothing.

Return Value

  • reference