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

Method operator ++

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

Source from the content-addressed store, hash-verified

114
115 template<class I>
116 forceinline void
117 ToValues<I>::operator ++(void) {
118 ++cur;
119 if (cur > max) {
120 ++i;
121 if (i()) {
122 cur = i.min(); max = i.max();
123 }
124 }
125 }
126
127 template<class I>
128 forceinline int

Callers

nothing calls this directly

Calls 3

iFunction · 0.70
minMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected