VectorImpl.take

Take ownership of the memory owned by the vector.

struct VectorImpl(T, bool ownsMemory = true)
@nogc
T[]
take
()

Return Value

Type: T[]

The memory which was owned by the vector, the vector is reset in the process.

Meta