In Place Ordering (in Sorted Order) of all Elements t. * * See_Also: https://stackoverflow.com/questions/21102646/in-place-ordering-of-elements/ * See_Also: http://forum.dlang.org/thread/eweortsmcmibppmvtriw@forum.dlang.org#post-eweortsmcmibppmvtriw:40forum.dlang.org
auto x = 2, y = 1; orderInPlace(x, y); assert(x == 1); assert(y == 2);
auto x = 3, y = 1, z = 2; orderInPlace(x, y, z); assert(x == 1); assert(y == 2); assert(z == 3);
See Implementation
In Place Ordering (in Sorted Order) of all Elements t. * * See_Also: https://stackoverflow.com/questions/21102646/in-place-ordering-of-elements/ * See_Also: http://forum.dlang.org/thread/eweortsmcmibppmvtriw@forum.dlang.org#post-eweortsmcmibppmvtriw:40forum.dlang.org