Adopt memory allocations from the specified base object.
Synopsis
Declared in <bslstl_vector.h>
void
adopt(BloombergLP::bslmf::MovableRef<vectorBase> base);
Description
Adopt all outstanding memory allocations associated with the specified base object. The behavior is undefined unless this object is in a default‐constructed state.
Parameters
Name |
Description |
base |
vectorBase object whose allocations are adopted |
Created with MrDocs