Commit Graph

16 Commits

Author SHA1 Message Date
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