Performs an unary operation on the vector.
the new vector
auto v = vector(-1, 0, 1); assert(-v == vector(1, 0, -1)); assert(++v == vector(0, 1, 2)); // this will change the original vector's values! assert(v-- == vector(0, 1, 2) && v == vector(-1, 0, 1));
See Implementation
Performs an unary operation on the vector.