immutable arrays and .sort/.reverse

bearophile bearophileHUGS at lycos.com
Sat Apr 2 07:49:49 PDT 2011


simendsjo:

> 	// but I'm allowed to sort in place...
> 	a.reverse;
> 	assert(a == [3,2,1]);

It's a known bug, already in Bugzilla.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list