diff --git a/include/gp/functional/function.hpp b/include/gp/functional/function.hpp index e8fc8c7..b5eb03c 100644 --- a/include/gp/functional/function.hpp +++ b/include/gp/functional/function.hpp @@ -122,6 +122,10 @@ namespace gp{ ); } + function(ret f_ptr(args...)) + : function(f_ptr, nullopt) + {} + function(function&& rhs) : alloc(rhs.alloc) , invokator(rhs.invokator)