[#BloombergLP-bslstl-SimplePool-adopt] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/SimplePool.adoc[SimplePool]::adopt :relfileprefix: ../../../ :mrdocs: Adopt all outstanding memory allocations associated with the specified memory `pool`. The behavior is undefined unless this pool uses the same allocator as that associated with `pool`. The behavior is undefined unless this pool is in the default‐constructed state. == Synopsis Declared in `<bslstl_simplepool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void adopt(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<SimplePool>] pool); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#