[#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`. The behavior is undefined unless this pool uses the same allocator as that associated with `pool`. The behavior is also undefined unless this pool is in the default‐constructed state. == Synopsis Declared in `<bslstl_bidirectionalnodepool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void adopt(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<BidirectionalNodePool>] pool); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#