Ticket #4577: invoke.patch

File invoke.patch, 859 bytes (added by anonymous, 12 years ago)
  • invoke.hpp

     
    4141#include <boost/utility/result_of.hpp>
    4242
    4343#include <boost/fusion/support/category_of.hpp>
     44#include <boost/fusion/support/detail/access.hpp>
    4445#include <boost/fusion/sequence/intrinsic/at.hpp>
    4546#include <boost/fusion/sequence/intrinsic/size.hpp>
    4647#include <boost/fusion/sequence/intrinsic/front.hpp>
     
    195196        public:
    196197
    197198            typedef typename boost::result_of<
    198 #define M(z,j,data) typename result_of::at_c<Sequence,j>::type
     199#define M(z,j,data) typename detail::call_param< \
     200                        typename result_of::at_c<Sequence,j>::type \
     201                    >::type
    199202                    Function(BOOST_PP_ENUM(N,M,~)) >::type result_type;
    200203#undef M
    201204