Remove deprecated uninitializedFill

This commit is contained in:
monarchdodra 2013-10-12 15:35:34 +02:00
parent d327f339aa
commit 96010c84e8

View file

@ -1190,14 +1190,6 @@ void uninitializedFill(Range, Value)(Range range, Value filler)
return fill(range, filler);
}
deprecated("Cannot reliably call uninitializedFill on range that does not expose references. Use fill instead.")
void uninitializedFill(Range, Value)(Range range, Value filler)
if (isInputRange!Range && !hasLvalueElements!Range && is(typeof(range.front = filler)))
{
static assert(hasElaborateAssign!T, "Cannot execute uninitializedFill a range that does not expose references, and whose objects have an elaborate assign.");
return fill(range, filler);
}
/**
Initializes all elements of a range with their $(D .init)
value. Assumes that the range does not currently contain meaningful