该清单展示了内部迭代器(也称为push迭代器,因为它将每个元素依次推到代码块中)。
This listing illustrates an internal iterator (also known as a push iterator because it pushes each element in turn to the code block).
以前的那些例子恰好在必须按顺序在项上进行迭代之前停止执行,并且有一个好的理由:它们使用的模板系统无法在模板定义内部进行这种迭代。
The previous examples stop right before they have to iterate over the items in the order, and for good reason: the templating systems they use can't do that iteration within a template definition.
在迭代1结束时,您可能会给内部涉众,比如一个高级执行官,做一个演示。
At the end of iteration 1, you might demonstrate to an insider stakeholder, such as an executive.
应用推荐