added implementation for operator()

This commit is contained in:
Kjistóf 2016-11-27 14:08:01 +01:00
parent f0e8e4f6ea
commit 7dc40f92f2

View File

@ -34,5 +34,8 @@ public:
return *this;
}
Ret operator()(Args... args) const
{ return _fun->call(std::forward<Args>(args)...); }
~Function() { delete _fun; }
};