可以像这样创建函数指针数组:
typedef void(*FunctionPointer)(); FunctionPointer functionPointers[] = {/* Stuff here */};
在不使用typedef?的情况下创建函数指针数组的语法是什么?
typedef
c++ arrays syntax typedef function-pointers
arrays ×1
c++ ×1
function-pointers ×1
syntax ×1
typedef ×1