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

Method dispose

gecode/set/element/unionConst.hpp:79–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78 template<class SView, class RView>
79 forceinline size_t
80 ElementUnionConst<SView,RView>::dispose(Space& home) {
81 home.ignore(*this,AP_DISPOSE);
82 if (!home.failed()) {
83 x0.cancel(home,*this, PC_SET_ANY);
84 x1.cancel(home,*this, PC_SET_ANY);
85 }
86 for (unsigned int i=n_iv; i--;)
87 iv[i].~IntSet();
88 (void) Propagator::dispose(home);
89 return sizeof(*this);
90 }
91
92 template<class SView, class RView>
93 ExecStatus

Callers 1

propagateMethod · 0.45

Calls 3

ignoreMethod · 0.45
failedMethod · 0.45
cancelMethod · 0.45

Tested by

no test coverage detected