[libsigc++2/variadic_mem_fun2] mem_fun: Use limit_reference_base instead of aliases.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigc++2/variadic_mem_fun2] mem_fun: Use limit_reference_base instead of aliases.
- Date: Sat, 5 Mar 2016 10:59:54 +0000 (UTC)
commit 273264ff9d6b3f6229dc81be2e58271ddb0ee2ec
Author: Murray Cumming <murrayc murrayc com>
Date: Sat Mar 5 11:07:05 2016 +0100
mem_fun: Use limit_reference_base instead of aliases.
Because it is now simple enough.
sigc++/functors/macros/mem_fun.h.m4 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sigc++/functors/macros/mem_fun.h.m4 b/sigc++/functors/macros/mem_fun.h.m4
index 9a07e53..5618ebb 100644
--- a/sigc++/functors/macros/mem_fun.h.m4
+++ b/sigc++/functors/macros/mem_fun.h.m4
@@ -84,7 +84,7 @@ inline decltype(auto)
mem_fun(/*$2*/ T_obj* _A_obj, T_return (T_obj2::*_A_func)(T_arg...) $3)
{
return bound_mem_functor_base<
- [$1]limit_reference<T_obj>,
+ limit_reference_base<$2 T_obj, $3 T_obj>,
T_return (T_obj::*)(T_arg...) $3,
T_return, T_obj, T_arg...>(_A_obj, _A_func);
}
@@ -101,7 +101,7 @@ inline decltype(auto)
mem_fun(/*$2*/ T_obj& _A_obj, T_return (T_obj2::*_A_func)(T_arg...) $3)
{
return bound_mem_functor_base<
- [$1]limit_reference<T_obj>,
+ limit_reference_base<$2 T_obj, $3 T_obj>,
T_return (T_obj::*)(T_arg...) $3,
T_return, T_obj, T_arg...>(_A_obj, _A_func);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]