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.
Class for combining two pointers with a flag.
Gecode toplevel namespace
CombPtrFlag(T *p1, T *p2)
Initialize with pointer p1 and p2.