From 16c4822371688c62c737bb11c9527c031899bcba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Sun, 27 Nov 2016 14:00:34 +0100 Subject: [PATCH] added interface for a nested class which could save us all --- Function.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Function.hpp b/Function.hpp index cda354b..5fc6299 100644 --- a/Function.hpp +++ b/Function.hpp @@ -5,5 +5,11 @@ class Function; template class function { - // TODO: everything :'D +private: + class callable_base + { + public: + virtual Ret call(Args...) = 0; + }; +public: }; \ No newline at end of file