www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - workaround to sort BigInt[]?

reply "McAnany, Charles E" <mcanance rose-hulman.edu> writes:
SGksIGFsbC4gSSdtIHRyeWluZyB0byBzb3J0IGFuIGFycmF5IG9mIEJpZ0ludHMsIGFuZCBJIGdl
dCBhbiBvdmVybGFwcGluZyBhcnJheSBjb3B5IGVycm9yLiBTaG9ydCBvZiB3cml0aW5nIG15IG93
biBzb3J0aW5nIGFsZ29yaXRobSwgaXMgdGhlcmUgYSB3b3JrYXJvdW5kIGZvciB0aGlzPw0KVGhh
bmtzLA0KQ2hhcmxlcy4NCg==
Jul 18 2011
parent David Nadlinger <see klickverbot.at> writes:
On 7/18/11 6:28 PM, McAnany, Charles E wrote:
 Hi, all. I'm trying to sort an array of BigInts, and I get an overlapping
array copy error. Short of writing my own sorting algorithm, is there a
workaround for this?

Didn't you ask the same question here a few days ago? In any case, here is the bug report, a fix appears to be already in Phobos: http://d.puremagic.com/issues/show_bug.cgi?id=5705 David
Jul 18 2011