anonymous:
static ref int deref(int* p) {return *p;} sort(only(&a, &b, &c).map!deref);
Despite some holes, std.algorithm and std.range are quite powerful. Sometimes using them feels like playing a puzzle game :-)
Bye, bearophile
anonymous:
static ref int deref(int* p) {return *p;} sort(only(&a, &b, &c).map!deref);
Despite some holes, std.algorithm and std.range are quite powerful. Sometimes using them feels like playing a puzzle game :-)
Bye, bearophile