-
We have to use a std::function because some of the lambdas have captures, as using a plain function pointer 'void (*func)(bool)' won't work.
9a584ae7
We have to use a std::function because some of the lambdas have captures, as using a plain function pointer 'void (*func)(bool)' won't work.