38 namespace Gecode {
namespace Int {
namespace ViewValGraph {
43 : cpf(reinterpret_cast<ptrdiff_t>(
p1) ^ reinterpret_cast<ptrdiff_t>(
p2)) {}
48 return reinterpret_cast<T*>((cpf&~1) ^ reinterpret_cast<ptrdiff_t>(
p));
54 return static_cast<int>(cpf&1);
72 cpf = reinterpret_cast<ptrdiff_t>(
p1) ^ reinterpret_cast<ptrdiff_t>(
p2);
int p
Number of positive literals for node type.
Gecode::IntArgs p2(4, 4, 3, 3, 5)
Class for combining two pointers with a flag.
Gecode toplevel namespace
Gecode::IntArgs p1(4, 2, 2, 2, 2)
CombPtrFlag(T *p1, T *p2)
Initialize with pointer p1 and p2.