[#bsl-vector-027-adopt]
= xref:bsl.adoc[bsl]::xref:bsl/vector-027.adoc[vector&lt;MetricSampleGroup&gt;]::adopt
:relfileprefix: ../../
:mrdocs:

Adopt all outstanding memory allocations associated with the specified `base` object&period; The behavior is undefined unless this object is in a default&hyphen;constructed state&period;

== Synopsis

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

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


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