diff options
author | Murray Cumming <murrayc@murrayc.com> | 2016-03-03 10:17:07 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2016-03-07 10:44:55 +0100 |
commit | f4b2871e9178aaf7751d25e8684a833be5302372 (patch) | |
tree | fe0e6d9ca50d95ee683568ac54c33ab2d4cdceec /sigc++/adaptors/retype_return.h | |
parent | 40b82d9883fcf3a4bb4dc0c28b2918af571123e7 (diff) | |
download | sigc++-f4b2871e9178aaf7751d25e8684a833be5302372.tar.gz |
Remove SIGC_WORKAROUND_OPERATOR_PARENTHESES, using just .template operator()<>.
We can add it back if we find that the Sun or Microsoft compilers still
need it, when/if they support enough C++14 anyway.
We can always use libsigc++-2.0 to easily discover what its configure
checks say about the compiler behaviour.
Diffstat (limited to 'sigc++/adaptors/retype_return.h')
-rw-r--r-- | sigc++/adaptors/retype_return.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sigc++/adaptors/retype_return.h b/sigc++/adaptors/retype_return.h index e01a00a..29b8eb0 100644 --- a/sigc++/adaptors/retype_return.h +++ b/sigc++/adaptors/retype_return.h @@ -23,7 +23,7 @@ struct retype_return_functor : public adapts<T_functor> template <class... T_arg> inline T_return operator()(T_arg&&... _A_a) - { return T_return(this->functor_.SIGC_WORKAROUND_OPERATOR_PARENTHESES<T_arg...> + { return T_return(this->functor_.template operator()<T_arg...> (std::forward<T_arg>(_A_a)...)); } @@ -60,7 +60,7 @@ struct retype_return_functor<void, T_functor> : public adapts<T_functor> template <class... T_arg> inline void operator()(T_arg... _A_a) - { this->functor_.SIGC_WORKAROUND_OPERATOR_PARENTHESES<T_arg...> + { this->functor_.template operator()<T_arg...> (_A_a...); } |