I think where boost.Phoenix still bas added value, beside only syntax difference, is for polymorphic lambda . This is espacially usefull if you are using Phoenix in conjunction with boost.fusion for instance.
Stephane.
2015-05-15 12:07 GMT+02:00 Robert Jones <robertgbjones@gmail.com>:I'm sure this has been asked before, and apologies in advance to the programming gods of Boost.Phoenix, but has Phoenix effectively been replaced by language lambdas, or are there still things for which Phoenix is the best answer?Thx, Rob._______________________________________________A pair of super-simple example:boost::for_each(v, _1 = _1 * _1);boost::for_each(v, [](auto& x) { x = x * x; });boost::transform(v, out, _1 * _1);boost::transform(v, out, [](auto& x) { return x * x; });My choice for these super-simple examples: Phoenix.And Phoenix can do so much more...Cheers, Kris
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users