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

Method operator ++

gecode/iter/ranges-compl.hpp:150–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148
149 template<int UMIN, int UMAX, class I>
150 forceinline void
151 Compl<UMIN,UMAX,I>::operator ++(void) {
152 assert(!i() || (i.max() <= UMAX));
153 if (i() && (i.max() < UMAX)) {
154 mi = i.max()+1;
155 ++i;
156 ma = i() ? (i.min()-1) : UMAX;
157 } else {
158 finish();
159 }
160 }
161
162 template<class I>
163 forceinline void

Callers

nothing calls this directly

Calls 3

iFunction · 0.70
maxMethod · 0.45
minMethod · 0.45

Tested by

no test coverage detected