MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / getPtr

Method getPtr

cp-profiler/src/cpprofiler/tree/node.cpp:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26NodeID *Node::getPtr() const
27{
28 return reinterpret_cast<NodeID *>(
29 reinterpret_cast<ptrdiff_t>(m_childrenOrFirstChild) & ~(3));
30}
31
32void Node::setPtr(NodeID *ptr)
33{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected