Yee*_*Fei 5 c++ typedef function-pointers function-declaration
我不明白为什么接受以下声明:
typedef void (*_tStandardDeclaration)(LPVOID);
Run Code Online (Sandbox Code Playgroud)
而以下不是:
typedef void *_tDeclarationWithoutParenthesis(LPVOID);
typedef void* _tAlternateDeclaration(LPVOID);
Run Code Online (Sandbox Code Playgroud)
我正在使用MSVC6(我知道它是过时的和非标准的,但它需要保持每年十亿的收入系统:/)