19 #include <boost/fusion/include/vector.hpp>
24 template <
class Num,
class AccumulatorFunctor,
class AccumulatorData,
26 void operator()(Num num, AccumulatorFunctor accFunctor,
27 AccumulatorData accData, Continuation continuation)
const
32 auto print = [](Num n) { std::cout << n << std::endl; };
33 return continuation(print, num);
35 return continuation(accFunctor, accData);
41 boost::fusion::vector<int, float, long long> v(12, 5.5f, 2ll);
45 std::cout <<
"Empty Collection" << std::endl;
class for polymorphic join on boost fusion sequence
detail::infinity< false > minus_infinity
detail
if the sign = true, class represents plus_infinity: object bigger than everything if the sign = false...