Declare Bas the signature type the member functions of the class A, receiving an argument char*and returning a pointer void*.
I do not feel that he is confused. This allows much more readable code. See this answer (for C, but you can adapt it for C ++).
source
share