Vector

prepend(const Vector<T, AllocatorT>& vector) [Vector template]

Prepend (insert at beginning) an existing vector to the end of this vector.

If the original vector contained objects, for example Vector<String> then a new object will be allocated, so the values will not be linked together after appending.

If the original vector contained pointers such as Vector<void *>, the pointers will be copied, which can lead to object lifetime confusion.

Returns true if the operation succeeded.

// PROTOTYPE
bool prepend(const Vector<T, AllocatorT>& vecto);