BloombergLP::bslstl::BidirectionalNodePool::deleteNode

Destroy linkNode and return its memory to this pool.

Synopsis

Declared in <bslstl_bidirectionalnodepool.h>

void
deleteNode(bslalg::BidirectionalLink* linkNode);

Description

Destroy the VALUE attribute of the specified linkNode and return the memory footprint of linkNode to this pool for potential reuse. The behavior is undefined unless node refers to a bslalg::BidirectionalNode<VALUE> that was allocated by this pool.

Parameters

NameDescription
linkNodenode whose value is destroyed and whose memory is returned to this pool