uninitializedFill

fnvoid uninitializedFill(Range, Value)(Range range, Value value) if (isInputRange!Range && hasLvalueElements!Range && is(typeof(range.front = value)))

Initializes each element of range with value. Assumes that the elements of the range are uninitialized. This is of interest for structs that define copy constructors (for all other types, fill and uninitializedFill are equivalent).

Parameters

rangeAn input range that exposes references to its elements and has assignable elements
valueAssigned to each element of range

See Also