Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86424 - branches/release/boost/signals2
From: fmhess_at_[hidden]
Date: 2013-10-25 00:43:04


Author: fmhess
Date: 2013-10-25 00:43:04 EDT (Fri, 25 Oct 2013)
New Revision: 86424
URL: http://svn.boost.org/trac/boost/changeset/86424

Log:
Merged changeset 86412 from trunk.
Fixes #9286

Properties modified:
   branches/release/boost/signals2/ (props changed)
Text files modified:
   branches/release/boost/signals2/variadic_slot.hpp | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: branches/release/boost/signals2/variadic_slot.hpp
==============================================================================
--- branches/release/boost/signals2/variadic_slot.hpp Thu Oct 24 22:46:04 2013 (r86423)
+++ branches/release/boost/signals2/variadic_slot.hpp 2013-10-25 00:43:04 EDT (Fri, 25 Oct 2013) (r86424)
@@ -14,9 +14,10 @@
 #include <boost/signals2/detail/variadic_arg_type.hpp>
 
 #define BOOST_SIGNALS2_SLOT_N_BINDING_CONSTRUCTORS \
- template<typename ... BindArgs> slot(const BindArgs & ... args) \
+ template<typename A1, typename A2, typename ... BindArgs> \
+ slot(const A1 &arg1, const A2 &arg2, const BindArgs & ... args) \
   { \
- init_slot_function(boost::bind(args...)); \
+ init_slot_function(boost::bind(arg1, arg2, args...)); \
   }
 
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk