i have the following class:
class A
{
public:
static void (*callbacks[6])();
};
And i need to initialize all values of callbacks, to NULL.
How is that done?
I have tried the following:
void (* )[6]() A::callbacks[6] = {
NULL, NULL, NULL, NULL, NULL, NULL
};
But doesn't works