> How do you not pass them in a safe manner? If you are casting things, of course you don't get type safety.
Yep, I was talking about non-template functions. Only way to pass an arbitrary function is via void*
> How do you not pass them in a safe manner? If you are casting things, of course you don't get type safety.
Yep, I was talking about non-template functions. Only way to pass an arbitrary function is via void*