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

Function fmark

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

Source from the content-addressed store, hash-verified

65 return reinterpret_cast<void*>(reinterpret_cast<ptrdiff_t>(p)-1);
66 }
67 forceinline void*
68 fmark(void* p) {
69 return reinterpret_cast<void*>(reinterpret_cast<ptrdiff_t>(p)|1);
70 }
71 forceinline void*
72 funmark(void* p) {
73 return reinterpret_cast<void*>(reinterpret_cast<ptrdiff_t>(p)&

Callers 2

disableMethod · 0.85
leafMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected