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

Method ptr

gecode/int/view-val-graph/comb-ptr-flag.hpp:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41 template<class T>
42 forceinline T*
43 CombPtrFlag<T>::ptr(T* p) const {
44 return reinterpret_cast<T*>((cpf&~1) ^ reinterpret_cast<ptrdiff_t>(p));
45 }
46
47 template<class T>
48 forceinline int

Callers 4

dstMethod · 0.80
viewMethod · 0.80
valMethod · 0.80
usedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected