Speaking of sortedRange, I think we need to put lowerBound, upperBound and canFindSorted back in std.algorithm, but make them scheduled for deprecation. I was actually using these and a bunch of my code broke. <br><br>In general, I don't think we need to be anal about backwards compatibility in Phobos yet, but I think that when things are removed they should always be scheduled for deprecation for a few releases, then deprecated for a few releases, never removed without any warning whatsoever.<br>
<br><div class="gmail_quote">On Wed, Sep 15, 2010 at 1:31 PM, Rainer Schuetze <span dir="ltr"><<a href="mailto:r.sagitario@gmx.de">r.sagitario@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
I've hit a bad assertion in the new std.range.SortedRange:<br>
<br>
immutable size_t msb = bsr(this._input.length) + 1;<br>
assert(msb > 0 && msb < this._input.length);<br>
<br>
fails for length 2.<div><div></div><div class="h5"><br>
<br>
<br>
Walter Bright wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
New beta up with your corrections.<br>
<br>
_______________________________________________<br>
dmd-beta mailing list<br>
<a href="mailto:dmd-beta@puremagic.com" target="_blank">dmd-beta@puremagic.com</a><br>
<a href="http://lists.puremagic.com/mailman/listinfo/dmd-beta" target="_blank">http://lists.puremagic.com/mailman/listinfo/dmd-beta</a><br>
<br>
</blockquote>
<br>
_______________________________________________<br>
dmd-beta mailing list<br>
<a href="mailto:dmd-beta@puremagic.com" target="_blank">dmd-beta@puremagic.com</a><br>
<a href="http://lists.puremagic.com/mailman/listinfo/dmd-beta" target="_blank">http://lists.puremagic.com/mailman/listinfo/dmd-beta</a><br>
</div></div></blockquote></div><br>