[libsigcplusplus/variadic_mem_fun3: 36/148] bind(): Move T_functor the start.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigcplusplus/variadic_mem_fun3: 36/148] bind(): Move T_functor the start.
- Date: Mon, 7 Mar 2016 10:00:49 +0000 (UTC)
commit 7951dcc38744c7f4dec2570718a3b6efb6bfad77
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Jan 8 15:52:02 2016 +0100
bind(): Move T_functor the start.
This is different to the bind<number, ...> version but it's the only
way to have a parameter pack at the end.
Hopefully this version of bind() never needs to be called for specific
template types.
sigc++/adaptors/macros/bind.h.m4 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sigc++/adaptors/macros/bind.h.m4 b/sigc++/adaptors/macros/bind.h.m4
index 95701dd..c6ae2f3 100644
--- a/sigc++/adaptors/macros/bind.h.m4
+++ b/sigc++/adaptors/macros/bind.h.m4
@@ -188,7 +188,7 @@ FOR(1,$1,[
*
* @ingroup bind
*/
-template <LIST(LOOP(class T_type%1, $1), class T_functor)>
+template <LIST(class T_functor, LOOP(class T_type%1, $1))>
inline decltype(auto)
bind(const T_functor& _A_func, LOOP(T_type%1 _A_b%1, $1))
{ return bind_functor<-1, T_functor,dnl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]