added implementation for operator()
This commit is contained in:
parent
f0e8e4f6ea
commit
7dc40f92f2
@ -34,5 +34,8 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Ret operator()(Args... args) const
|
||||||
|
{ return _fun->call(std::forward<Args>(args)...); }
|
||||||
|
|
||||||
~Function() { delete _fun; }
|
~Function() { delete _fun; }
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user