.. index:: py::builtins::range::crbegin .. _doxycast_pypp_classpy_1_1builtins_1_1range_1a5aa09c53a4bed0119852b6469caa035b: .. _py-builtins-range-crbegin: *py::builtins::range::*\ crbegin ================================ .. code-block:: cpp constexpr const_reverse_iterator crbegin() 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. .. tip:: Equivalent to :ref:`py-builtins-range-rbegin`. .. graphviz:: ../assets/range-rbegin-rend.dot Return value ------------ A constant reverse iterator to the first value of the reversed range. Complexity ---------- Constant. Example ------- .. code-block:: cpp #include #include int main() { py::range range(4); py::print(*range.crbegin()); } **Output**: .. code-block:: text 3