Allocate a node and move‐construct its VALUE from original.
Synopsis
Declared in <bslstl_bidirectionalnodepool.h>
bslalg::BidirectionalLink*
moveIntoNewNode(bslalg::BidirectionalLink* original);
Description
Allocate a node of the type BidirectionalNode<VALUE>, and move‐construct an object of the (template parameter) type VALUE with the (explicitly moved) value indicated by the value attribute of the specified original link. Return the address of the node. Note that the next and prev attributes of the returned node will be uninitialized. Also note that the value attribute of original is left in a valid but unspecified state.
Return Value
address of the newly allocated and constructed node
Parameters
Name |
Description |
original |
node whose |
Created with MrDocs