Ticket #3091: signals2.patch
File signals2.patch, 773 bytes (added by , 13 years ago) |
---|
-
detail/slot_template.hpp
66 66 template<typename Func, BOOST_PP_ENUM_PARAMS(n, typename ArgType)> \ 67 67 BOOST_SIGNALS2_SLOT_CLASS_NAME(BOOST_SIGNALS2_NUM_ARGS)(const Func &func, BOOST_PP_ENUM(n, BOOST_SIGNALS2_SLOT_BINDING_ARG_DECL, ~)) \ 68 68 { \ 69 init_slot_function(b ind(func, BOOST_PP_ENUM_PARAMS(n, arg))); \69 init_slot_function(boost::bind(func, BOOST_PP_ENUM_PARAMS(n, arg))); \ 70 70 } 71 71 BOOST_PP_REPEAT_FROM_TO(1, BOOST_SIGNALS2_SLOT_MAX_BINDING_ARGS, BOOST_SIGNALS2_SLOT_N_BINDING_CONSTRUCTOR, ~) 72 72 #undef BOOST_SIGNALS2_SLOT_N_BINDING_CONSTRUCTOR