For iterating backwards see this answer. Iterating forwards is almost identical. Just change the iterators / swap decrement by increment.
確定! 回上一頁