[#BloombergLP-bslstl-BidirectionalNodePool-deleteNode]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/BidirectionalNodePool.adoc[BidirectionalNodePool]::deleteNode
:relfileprefix: ../../../
:mrdocs:

Destroy `linkNode` and return its memory to this pool&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;bidirectionalnodepool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
deleteNode(xref:BloombergLP/bslalg/BidirectionalLink.adoc[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&period; The behavior is undefined unless `node` refers to a `bslalg&colon;&colon;BidirectionalNode&lt;VALUE&gt;` that was allocated by this pool&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *linkNode*
| node whose value is destroyed and whose memory is returned to this pool
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
