Creates an inlined vector by moving in the contents of other with a copy of allocator.
Declared in <absl/container/inlined_vector.h>
InlinedVector(
InlinedVector&& other,
allocator_type const& allocator) noexcept(/* see-below */);
NOTE: if other's allocator is not equal to allocator, even if other contains allocated memory, this move constructor will still allocate. Since allocation is performed, this constructor can only be noexcept if the specified allocator is also noexcept.
This function is potentially-throwing unless absl::allocator_is_nothrow<allocator_type>::value.
| Name | Description |
|---|---|
| other | The inlined vector to move from. |
| allocator | The allocator to use. |