std.algorithm.sort fails?
Johannes Pfau
spam at example.com
Thu Aug 5 01:26:32 PDT 2010
On 04.08.2010 11:34, Jonathan M Davis wrote:
>
> There appears to be a bug with regards to SwapStrategy.stable. If you don't pass
> it a swap strategy it works just fine, but if you do, it fails.
>
> I'm using svn snapshot 1751 of phobos, which is a few weeks old, and it fails an
> assertion in sort() which is checking whether the range was sorted. I have no
> idea if it's been fixed since then. I don't see a bug report for it in either
> case.
>
> - Jonathan M Davis
Ok, I'll just use it without SwapStrategy.stable then. I guess I could
also test the phobos svn version at some time and if the assert still
fails the phobos devs likely already now that.
--
Johannes Pfau
More information about the Digitalmars-d-learn
mailing list