Vector.backCopy

Returns a copy of the first element in the vector.

struct Vector
scope
backCopy
(
this This
)
()

Examples

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

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

Meta