Allocate a node and copy-construct its VALUE from original.
Declared in <bslstl_bidirectionalnodepool.h>
bslalg::BidirectionalLink*
cloneNode(bslalg::BidirectionalLink const& original);
Allocate a node of the type BidirectionalNode<VALUE>, and copy-construct an object of the (template parameter) type VALUE having the same value as the specified original at the value attribute of the node. Return the address of the node. Note that the next and prev attributes of the returned node will be uninitialized.
address of the newly allocated and constructed node
| Name | Description |
|---|---|
| original | node whose VALUE is copied into the new node |