迭代器范围这个概念是标准库的基础。
The concept of an iterator range is fundamental to the standard library.
要标记出有效的迭代器范围,迭代器需要满足什么约束?
What are the constraints on the iterators that form iterator ranges?
在深入探讨容器操作之前,先来了解一下迭代器和迭代器范围。
Before we look further at the container operations, we should understand a bit more about iterators and iterator ranges.
广度指的是超出本文范围的那些特性,比如抽象类、接口、迭代器接口、反射、异常和对象复制。
By breadth, I mean the features that were beyond the scope of this article, such as abstract classes, interfaces, the iterator interface, reflection, exceptions, and object cloning.
获得迭代器的范围大小。
使用迭代器时,通常可以编写程序使得要求迭代器有效的代码范围相对较短。
When using iterators, it is usually possible to write the program so that the range of code over which an iterator must stay valid is relatively short.
为迭代器提供更为明确的类型即可限制搜索范围。
You can limit the scope of the search by providing a more specific type to the iterator.
为迭代器提供更为明确的类型即可限制搜索范围。
You can limit the scope of the search by providing a more specific type to the iterator.
应用推荐