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

Destroy the value of `node` and return its memory to this pool&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
deleteNode(xref:BloombergLP/bslalg/RbTreeNode.adoc[bslalg::RbTreeNode]* node);
----

== Description

Destroy the `VALUE` value of the specified `node` and return the memory footprint of `node` to this pool for potential reuse&period; The behavior is undefined unless `node` refers to a `TreeNode&lt;VALUE&gt;`&period;

== Parameters

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


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