N-ary predicate that reverses the order of arguments, e.g., given pred(a, b, c), returns pred(c, b, a).
int abc(int a, int b, int c) { return a * b + c; } alias cba = reverseArgs!abc; assert(abc(91, 17, 32) == cba(32, 17, 91));
See Implementation
N-ary predicate that reverses the order of arguments, e.g., given pred(a, b, c), returns pred(c, b, a).