Function Vector.moveFront

Move of the first element in the vector and return it.

Vector.ElementType moveFront() scope;

Examples

auto vec = Vector!(int, 10).build(1, 2, 3);

assert(vec.moveFront == 1);
assert(vec == [0, 2, 3]);