问题
I remember once seeing a website, which deciphered complex C++ typedefs including function pointers returning function pointers to functions which return an array with …
It would turn such definitions into readable English text: »Pointer to function, returning an array of int-pointers, taking a long and a callback function (taking an int) as parameters«. (something along that lines)
typedef int * (*f)(long, void (*)(int))[];
Anybody remember that tool/website? Any hints greatly appreciated
回答1:
I think you are looking for https://cdecl.org/.
You can find the program itself at https://github.com/ridiculousfish/cdecl-blocks
回答2:
The tool is also available under http://cdecl.org
来源:https://stackoverflow.com/questions/6437333/tool-to-decipher-c-c-function-pointer-typedefs