Create a vector by moving from the specified original.
Declared in <bslstl_vector.h>
vector(BloombergLP::bslmf::MovableRef<vector> original) noexcept;
Create a vector having the same value as the specified original object by moving (in constant time) the contents of original to the new vector. The allocator associated with original is propagated for use in the newly-created vector. original is left in a valid but unspecified state.
| Name | Description |
|---|---|
| original | vector whose contents are moved into this vector |