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

Method operator ++

gecode/iter/ranges-add.hpp:93–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92 template<class I>
93 forceinline void
94 AddRange<I>::operator ++(void) {
95 if (i()) {
96 mi = r_min + i.min();
97 ma = r_max + i.max();
98 ++i;
99 while (i() && (ma+1 >= r_min+i.min())) {
100 ma = r_max + i.max(); ++i;
101 }
102 } else {
103 finish();
104 }
105 }
106
107 template<class I>
108 forceinline

Callers

nothing calls this directly

Calls 3

iFunction · 0.70
minMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected