xxxxxxxxxx
import std.algorithm;
import std.stdio;
void main()
{
int[] arr = [ 1, 2, 3, 4, 5 ];
auto barr = arr.remove!(SwapStrategy.unstable)(2);
if (barr != [ 1, 2, 5, 4 ]) writeln(barr);
}