Namespaces
Variants
Views
Actions

std::basic_string_view::rbegin, std::basic_string_view::crbegin

From cppreference.com
 
 
 
 
constexpr const_reverse_iterator rbegin() const;
(since C++17)
constexpr const_reverse_iterator crbegin() const;
(since C++17)

Returns a reverse iterator to the first character of the reversed view. It corresponds to the last character of the non-reversed view.

range-rbegin-rend.svg

Contents

[edit] Parameters

(none)

[edit] Return value

const_reverse_iterator to the first character

[edit] Exceptions

noexcept specification:  
noexcept
  

[edit] Complexity

Constant

[edit] See also

returns a reverse iterator to the end
(public member function) [edit]