py::builtins::range::rbegin
constexpr const_reverse_iterator rbegin() const;
Returns a constant reverse iterator to the first value of the
reversed range.
Warning
Iterators of range don’t support operator -> as they
are constructed on demand.
Return value
A constant reverse iterator to the first value of the reversed
range.
Example
#include <pypp/builtins/range.hpp>
#include <pypp/builtins/print.hpp>
int main()
{
py::range<int> range(4);
py::print(*range.rbegin());
}
Output: