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

Function ptrjoin

gecode/support/marked-pointer.hpp:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 return reinterpret_cast<void*>(mp & ~static_cast<ptrdiff_t>(1));
81 }
82 forceinline void*
83 ptrjoin(void* p, ptrdiff_t m) {
84 return reinterpret_cast<void*>(reinterpret_cast<ptrdiff_t>(p) | m);
85 }
86
87}}
88

Callers 4

_cloneMethod · 0.85
subscribeMethod · 0.85
cancelMethod · 0.85
updateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected