“迭代器”造句
2024年06月23日 09:10:50
标准库定义了五种
迭代器类别: 输入 、 输出 、 前向 、 双向和随机访问
迭代器.
There are five iterator categories: input, output, forward, bidirectional, and random access.
那些写回输入序列的算法要求前向
迭代器.
Those that write back to the input sequence require forward iterators.
一些算法反向读取序列, 所以要求双向
迭代器.
Some read the sequence backward, thus requiring bidirectional iterators.