- std::function<__callback void (void)>
- std::function<void (void)>
Please tell me about the difference between these two.
__Callback appears to be the keyword provided by WDK.
I think it’s different from the function calling protocol I knew.
Do you also use it to use functions in normal user-level applications?
Is it a kind of user-friendly keyword that separately defines asynchronous functions?
What is the difference between 1 and 2 above, and when should I use number 1?