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

Method post

gecode/set/int/card.hpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49 template<class View>
50 forceinline ExecStatus
51 Card<View>::post(Home home, View x0, Gecode::Int::IntView x1) {
52 GECODE_ME_CHECK(x1.gq(home,0));
53 GECODE_ME_CHECK(x0.cardMax(home, Gecode::Int::Limits::max));
54 (void) new (home) Card(home,x0,x1);
55 return ES_OK;
56 }
57
58 template<class View>
59 forceinline

Callers

nothing calls this directly

Calls 2

gqMethod · 0.45
cardMaxMethod · 0.45

Tested by

no test coverage detected