MCPcopy Create free account
hub / github.com/Gecode/gecode / dispose

Method dispose

gecode/kernel/propagator/wait.hpp:160–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 }
159 template<class View>
160 size_t
161 UnaryWait<View>::dispose(Space& home) {
162 x.cancel(home,*this,PC_GEN_ASSIGNED);
163 home.ignore(*this,AP_DISPOSE);
164 c.~SharedData<std::function<void(Space& home)>>();
165 (void) Propagator::dispose(home);
166 return sizeof(*this);
167 }
168
169
170 /*

Callers

nothing calls this directly

Calls 3

cancelMethod · 0.45
ignoreMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected