| 38 | namespace Gecode { |
| 39 | |
| 40 | void |
| 41 | dom(Home home, IntVar x, int n, IntPropLevel) { |
| 42 | using namespace Int; |
| 43 | Limits::check(n,"Int::dom"); |
| 44 | GECODE_POST; |
| 45 | IntView xv(x); |
| 46 | GECODE_ME_FAIL(xv.eq(home,n)); |
| 47 | } |
| 48 | |
| 49 | void |
| 50 | dom(Home home, const IntVarArgs& x, int n, IntPropLevel) { |