MCPcopy Create free account
hub / github.com/Gecode/gecode / operator ++

Method operator ++

gecode/iter/values-ranges.hpp:73–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72 template<class I>
73 forceinline void
74 ToRanges<I>::operator ++(void) {
75 if (!i()) {
76 finish(); return;
77 }
78 mi = i.val(); ma = i.val();
79 ++i;
80 while (i() && (ma+1 >= i.val())) {
81 ma = i.val(); ++i;
82 }
83 }
84
85 template<class I>
86 forceinline

Callers

nothing calls this directly

Calls 2

iFunction · 0.70
valMethod · 0.45

Tested by

no test coverage detected