[libsigcplusplus/variadic_mem_fun3: 127/148] mem_fun: Use limit_reference_base instead of aliases.



commit f35741426f208901e89f59f19dc407f6ded2c9ce
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 a00cf86..6ed1e29 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]