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

Allocate a node of the type `TreeNode&lt;VALUE&gt;`, and move&hyphen;construct an object of the (template parameter) type `VALUE` with the (explicitly moved) value indicated by the `value` attribute of the specified `original` node&period; Return the address of the newly allocated node&period; The object referred to by the `value` attribute of `original` is left in a valid but unspecified state&period; The behavior is undefined unless `original` refers to a `TreeNode&lt;VALUE&gt;` object holding a valid (initialized) value&period;

== Synopsis

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

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


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