diff options
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/kernel/function.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/kernel/function.hpp b/sca-cpp/trunk/kernel/function.hpp index cfb5a880bb..899443462e 100644 --- a/sca-cpp/trunk/kernel/function.hpp +++ b/sca-cpp/trunk/kernel/function.hpp @@ -211,7 +211,7 @@ template<typename R, typename T, typename U, typename... P> const lambda<R(P...) return curry(curry(f, t), u); } -template<typename R, typename T, typename U, typename V, typename... P> const lambda<R(P...)> curry(const lambda<R(T, U, P...)>& f, const T& t, const U& u, const V& v) { +template<typename R, typename T, typename U, typename V, typename... P> const lambda<R(P...)> curry(const lambda<R(T, U, V, P...)>& f, const T& t, const U& u, const V& v) { return curry(curry(curry(f, t), u), v); } |