
17 Jul
2013
17 Jul
'13
4:41 p.m.
On 07/17/2013 01:17 PM, Frédéric Bron wrote:
I have tried with boost::fusion::accumulate but I need to now in the functor the index of the value that is currently accessed to compare to the right one in k1.
Others have already pointed you to fusion::transform. There is a complete example of this in the documentation, albeit it does pairwise subtraction instead of min: http://www.boost.org/fusion/doc/html/fusion/functional/adapters/fused_functi...