Imagine that we have an iterator-based algorithm that requires random access iterators.
假设我们有一个基于迭代器的算法,要求是随机访问迭代器。
There are five iterator categories: input, output, forward, bidirectional, and random access.
标准库定义了五种迭代器类别:输入、输出、前向、双向和随机访问迭代器。
There are five iterator categories: input, output, forward, bidirectional, and random access.
标准库定义了五种迭代器类别:输入、输出、前向、双向和随机访问迭代器。
应用推荐