Allocate a node and construct its VALUE from arguments.

Synopsis

Declared in <bslstl_bidirectionalnodepool.h>

template<class... Args>
bslalg::BidirectionalLink*
emplaceIntoNewNode(Args&&... arguments);

Description

Allocate a node of the type BidirectionalNode<VALUE>, and construct in‐place an object of the (template parameter) type VALUE with the specified constructor arguments. Return the address of the node. Note that the next and prev attributes of the returned node will be uninitialized.

Return Value

address of the newly allocated and constructed node

Parameters

Name

Description

arguments

constructor arguments forwarded to construct the node's VALUE

Created with MrDocs