List链表rbegin()函数运用实例

rbegin
语法:

rbegin()函数返回一个逆向迭代器,指向链表的末尾。

测试代码

测试结果

10
0 1 2 3 4 5 6 7 8 9