C++ Reference: class InitAndGetValues

This documentation is automatically generated.

Utility class to encapsulate an IntVarIterator and use it in a range-based loop. See the code snippet above IntVarIterator.

It contains DEBUG_MODE-enabled code that DCHECKs that the same iterator instance isn't being iterated on in multiple places simultaneously.
Method
begin

Return type: Iterator

end

Return type: Iterator

InitAndGetValues

Return type: explicit

Arguments: IntVarIterator* it