std::experimental::basic_string_view<CharT,Traits>::back (3) - Linux Man Pages

std::experimental::basic_string_view<CharT,Traits>::back: std::experimental::basic_string_view<CharT,Traits>::back

NAME

std::experimental::basic_string_view<CharT,Traits>::back - std::experimental::basic_string_view<CharT,Traits>::back

Synopsis


constexpr const_reference back() const; (library fundamentals TS)


Returns reference to the last character in the view.

Parameters


(none)

Return value


Reference to the last character, equivalent to operator[](size() - 1).

Complexity


Constant.

See also


      accesses the first character
front (public member function)