Fills range with value assuming the elements of the range aren't initialized.
Input range type.
Initializer type.
Input range.
Initializer.
import std.algorithm.comparison : equal; int[6] actual = void; const int[6] expected = [1, 1, 1, 1, 1, 1]; uninitializedFill(actual[], 1); assert(equal(actual[], expected[]));
See Implementation
Fills range with value assuming the elements of the range aren't initialized.