.. index:: py::builtins::list::crend .. _doxycast_pypp_classpy_1_1builtins_1_1list_1a4978b0be3fd6de504c440ac316bb49ee: .. _py-builtins-list-crend: *py::builtins::list::*\ crend ============================= .. code-block:: cpp const_reverse_iterator crend() const; Returns a constant reverse iterator to one past the last element of the reversed list. .. graphviz:: ../assets/range-rbegin-rend.dot Return value ------------ A constant reverse iterator to one past the last element of the reversed list. Complexity ---------- Constant. Example ------- .. code-block:: cpp #include #include int main() { py::list list = {0, 0, 1, 3}; py::print(*(list.crend() - 1)); } **Output**: .. code-block:: text 0