but that supposes I have Plus and Minus predefined. What if I want to return a "dynamically generated" function that returns (say) a times the first argument plus b times the second? The code in python would be
Lambda expressions are not part of C++98 ( they will be in C++0x )
You can look for boost::lambda ( a library used to do this with the current standard )