|
noexcept |
Creates a vector moving in another vector of the same type but with a specified allocator instead of one used by the original vector.
right | A vector contents of which are moved into the created vector. If it is possible, i.e. the allocator created from the argument allocator equals to the allocator in right , the contents of right are actually moved into the new state. Otherwise, if the allocators do not compare equal, the contents are copied into the state of the created vector leaving right unchanged. |
allocator | An instance of an allocator copied into a state of the created vector to use when heap allocations happen. |