Commit Graph

19 Commits

Author SHA1 Message Date
e731faa381 removed comments & questions, this version is cz approved 2016-11-27 16:22:43 +01:00
81b4313d10 added missing return statement 2016-11-27 14:50:49 +01:00
1bc9c12f81 added a TODO to remove some comments 2016-11-27 14:35:30 +01:00
4756e53292 added some comments to explain the code 2016-11-27 14:34:23 +01:00
a037369c39 added const qualifiers where I saw fit 2016-11-27 14:30:42 +01:00
d452d6ce79 added missing include guard 2016-11-27 14:29:40 +01:00
dbee27d63b fixed throw statement in Function::operator() 2016-11-27 14:28:59 +01:00
b2ca0431ee Merge branch 'master' of ssh://server.strongds.hu:222/mrtoth/Function 2016-11-27 14:28:04 +01:00
a57f5d81ca now Function throws on call if decltype(_fun.get()) is std::nullptr_t. 2016-11-27 14:26:31 +01:00
abbbbfc8bd added missing template arguments to std::unique_ptr declaration 2016-11-27 14:20:02 +01:00
087f3d45bd swapped old-school new -> delete to fancy std::unique_ptr 2016-11-27 14:15:10 +01:00
1ae511542c added missing virtual dtor for callable_base. first working version 2016-11-27 14:12:06 +01:00
f85b3ec31f added missing specialization for class Function 2016-11-27 14:09:31 +01:00
66e1c2ab34 fixed typo in class name 2016-11-27 14:08:55 +01:00
7dc40f92f2 added implementation for operator() 2016-11-27 14:08:01 +01:00
f0e8e4f6ea added implementation for operator= 2016-11-27 14:06:57 +01:00
fe574be197 added impelementation-candidate for magic type-erasure nested class 2016-11-27 14:03:41 +01:00
16c4822371 added interface for a nested class which could save us all 2016-11-27 14:00:34 +01:00
4427596609 initial commit, let's just do this instead of studying. also hail Bjarne 2016-11-27 13:57:54 +01:00