摘要: 迭代器和逆向迭代器的相互转化: //迭代器转为逆向迭代器,用逆向迭代器的构造函数 deque<int>::iterator it; deque<int>::reverse_iterator its(it); //逆向迭代器转化为普通迭代器,使用逆向迭代器的base构造函数 deque<int>::r 阅读全文
posted @ 2021-03-29 20:16 Macondo's 阅读(54) 评论(0) 推荐(0)