Vector.moveFront

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

struct Vector
scope
moveFront
()
()

Examples

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

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

Meta