@@ -36,8 +36,6 @@ namespace sigc
36
36
template <typename T_return, typename T_functor>
37
37
struct retype_return_functor : public adapts <T_functor>
38
38
{
39
- T_return operator ()();
40
-
41
39
template <typename ... T_arg>
42
40
inline T_return operator ()(T_arg&&... a)
43
41
{
@@ -56,13 +54,6 @@ struct retype_return_functor : public adapts<T_functor>
56
54
}
57
55
};
58
56
59
- template <typename T_return, typename T_functor>
60
- T_return
61
- retype_return_functor<T_return, T_functor>::operator ()()
62
- {
63
- return T_return (std::invoke (this ->functor_ ));
64
- }
65
-
66
57
/* * Adaptor that performs a C-style cast on the return value of a functor.
67
58
* This template specialization is for a void return. It drops the return value of the functor it
68
59
* invokes.
@@ -76,8 +67,6 @@ retype_return_functor<T_return, T_functor>::operator()()
76
67
template <typename T_functor>
77
68
struct retype_return_functor <void , T_functor> : public adapts<T_functor>
78
69
{
79
- void operator ()();
80
-
81
70
template <typename ... T_arg>
82
71
inline void operator ()(T_arg... a)
83
72
{
@@ -88,13 +77,6 @@ struct retype_return_functor<void, T_functor> : public adapts<T_functor>
88
77
retype_return_functor (type_trait_take_t <T_functor> functor) : adapts<T_functor>(functor) {}
89
78
};
90
79
91
- template <typename T_functor>
92
- void
93
- retype_return_functor<void , T_functor>::operator ()()
94
- {
95
- std::invoke (this ->functor_ );
96
- }
97
-
98
80
#ifndef DOXYGEN_SHOULD_SKIP_THIS
99
81
// template specialization of visitor<>::do_visit_each<>(action, functor):
100
82
/* * Performs a functor on each of the targets of a functor.
0 commit comments