
It does not save much in characters compared to std::function<void ()> and it's a bit misleading as not just any callable object will do, but only one that takes no argument and returns void.
It does not save much in characters compared to std::function<void ()> and it's a bit misleading as not just any callable object will do, but only one that takes no argument and returns void.