What does "void *(*)(void *)" mean in C++?
Solution 1:
Yes, it is the signature of a nameless function pointer that takes and returns void *
.
If it had a name (as in a variable) it would be:
void *(*myFuncName)(void*)
Yes, it is the signature of a nameless function pointer that takes and returns void *
.
If it had a name (as in a variable) it would be:
void *(*myFuncName)(void*)