Vector.apply - multiple declarations

Function Vector.apply

Applies the given function to each element of the vector

void apply (
  void delegate(T) application
);

Function Vector.apply

Applies the given function to each element of the vector and returns the results in a new vector

Vector!(U,dimensions) apply(U) (
  U delegate(T) application
);