The chain operation using functors. Calls all functors in sequence, returns void. (Not to be confused with function composition.)
auto addFive = functor!(p => *p += 5)(); auto addThree = functor!(p => *p += 3)(); auto addEight = seq(addFive, addThree); int i; addEight(&i); assert(i == 8);
See Implementation
The chain operation using functors. Calls all functors in sequence, returns void. (Not to be confused with function composition.)