Ticket #2599: all.patch

File all.patch, 646 bytes (added by martin.voelkle@…, 14 years ago)

fix for the problem

  • .hpp

    old new  
    6868    };
    6969
    7070    template<>
     71    struct unrolled_all<4>
     72    {
     73        template <typename It, typename F>
     74        static bool call(It const& it, F f)
     75        {
     76            return
     77                f(*it) &&
     78                f(*fusion::advance_c<1>(it)) &&
     79                f(*fusion::advance_c<2>(it)) &&
     80                f(*fusion::advance_c<3>(it));
     81        }
     82    };
     83
     84    template<>
    7185    struct unrolled_all<3>
    7286    {
    7387        template <typename It, typename F>