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

Adopt all outstanding memory allocations associated with the specified node `pool`&period; The behavior is undefined unless this pool uses the same allocator as that associated with `pool`&period; The behavior is also undefined unless this pool is in the default&hyphen;constructed state&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
adopt(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;BidirectionalNodePool&gt;] pool);
----


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