this blog post will be a great barometer of commenters who read the post vs those who don't
Fortunately almost all the functional features in the article, like range folds and negation wrappers, do exist.
Tragic Harvest Underwrites Infrastructure That Frobs Haptic Network Generation Load?
https://cppreference.com/w/cpp/utility/functional/not_fn.htm...
If you don't see any value in that, you wouldn't see any value in the similar `flip` function or other combinators.
Just reverse parameter order. It seems very silly.
void f(int, double);
void main() {
flip(f)(3.14, 1);
}https://github.com/protocolbuffers/protobuf/blob/main/src/go...
This library was written in the C++98 era. It might seem silly now because with C++11, we could use std::bind or lambda expressions instead.