解密C / C ++函数指针typedef的工具 [英] Tool to decipher C/C++ function pointer typedefs

查看:119
本文介绍了解密C / C ++函数指针typedef的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我记得曾经看到一个网站,它解密了复杂的C ++ typedef,包括函数指针返回函数指针返回一个数组的函数...

I remember once seeing a website, which deciphered complex C++ typedefs including function pointers returning function pointers to functions which return an array with …

可读英语文本:»指针到函数,返回一个int指针数组,取一个长和一个回调函数(以一个int)作为参数«。 (沿着那条线的东西)

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

推荐答案

我认为你在寻找 http://cdecl.ridiculousfish.com/

这篇关于解密C / C ++函数指针typedef的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆