Jesse Perla schrieb:
Thanks as always Steven, What is the general thinking on lambda vs. phoenix 2 vs. phoenix 3? Do we expect phoenix 3 to be the main lambda library in boost (eventually)? Should I start getting comfortable with Phoenix 2 to prepare for it or might Phoenix 3 be radically different?
Also, I can't figure out in phoenix how I would have lazy operator() on already constructed functors. Is this possible?
Not sure, what you want. If you want to bind functor this is possible
with phoenix.
Hre is a code to illustrate this.
#include <vector>
#include <algorithm>
#include <cmath>
#include
cout << expectation( f( g(_x) ), dist);
Thanks, -Jesse _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users