Yea, how is this done?
The stuff I looked up had pretty concretely defined functions. For one, I don't know how to call the function with the va_arg
list. For two, I don't know what it's supposed to look like.
I want to be able to do
event.register(func, arg1, arg2, arg3, ...);
for any function without the use of templates, just like std::thread
does it.
How do I do this?