bsl::vector::vector

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.

Synopsis

Declared in <bslstl_vector.h>

vector(BloombergLP::bslmf::MovableRef<vector> original) noexcept;