NodePool.newNode

Creates a new node. May be overridden by a subclass to use a different allocation method.

class NodePool(Node)
protected
Node*
newNode
()
out (node) { assert ((cast(size_t)node) % 16 == 0, "the node pointer must be an integer multiple of 16"); }

Return Value

Type: Node*

a newly created node.

Out: The returned node pointer is an integer multiple of 16 as required by the libebtree.

Meta