Does Boost Lambda/Phoenix supports out of box something like lambda which returns another lambda?
For instance, that can be used to do some kind of currying:
std::cout << [](int x){return [=](int y){return x+y;};}(1)(2);
How to achieve similar purpose with Boost Lambda/Phoenix (+ as a bonus - we would get polymorphic behaviour)?