<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
I don&#39;t know where such a tool should finally be placed in D, but I having it<br>
available as a library or as part of the language would be great.  It seems like a<br>
lot of other languages have it like python, perl, C++, and Java.  So it can&#39;t be<br>
that useless.<br></blockquote><div><br></div><div><br></div><div>There is fill() in std.algorithm, but it needs an already present range...</div><div><br></div><div>auto s = new int[5];</div><div>fill(s, 10); </div><div>
<br></div><div>s is now [10,10,10,10,10]</div><div><br></div><div> </div></div><br>