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.
Definition at line 3878 of file constraint_solver.h.
Classes | |
| struct | Iterator |
Public Member Functions | |
| InitAndGetValues (IntVarIterator *it) | |
| Iterator | begin () |
| Iterator | end () |
|
inlineexplicit |
Definition at line 3880 of file constraint_solver.h.
|
inline |
Definition at line 3885 of file constraint_solver.h.
|
inline |
Definition at line 3892 of file constraint_solver.h.