Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
dst
Method · 0.80
view
Method · 0.80
val
Method · 0.80
used
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected