Tool to decipher C/C++ function pointer typedefs

2019-02-07 09:50发布

问题:

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 http://cdecl.ridiculousfish.com/



回答2:

The Url is http://cdecl.ridiculousfish.com/.



回答3:

The tool is also available under http://cdecl.org