
On 09/22/10 10:38, Larry Evans wrote: [snip]
The attachment shows my try; however, it fails to compile with the error:
fold_join.cpp:87:47: instantiated from here /home/evansl/prog_dev/boost-svn/ro/trunk/boost/fusion/support/detail/category_of.hpp:15:38: error: 'const boost::fusion::joint_view
&, boost::fusion::vector &>&' is not a class, struct, or union type Anyone have an idea what's wrong?
Using Christopher Schmidt's variadic fusion: http://svn.boost.org/svn/boost/sandbox/SOC/2009/fusion/ solves problem. With the attached and variadic fusion, output is: v1=(tu<1>(100) tu<1>(b) tu<1>(300.1)) v2=(tu<2>(100) tu<2>(b) tu<2>(300.1)) v3=(tu<3>(100) tu<3>(b) tu<3>(300.1)) fold(vv,state0,join_ftor())=(tu<1>(100) tu<1>(b) tu<1>(300.1) tu<2>(100) tu<2>(b) tu<2>(300.1) tu<3>(100) tu<3>(b) tu<3>(300.1))