I think this will make more sense if I put the code first:
I have a member variable defined as such:
std::queue<void (*)()> fptrs;
...and am trying to pop a pointer back out of it like this:
void (*f)() = fptrs.pop();
The 'alert' I get is this:
Assigning to 'void (*)()' from incompatible type 'void'
It seems that I'm not putting function pointers into my queue, or they're popping back out magically transformed. Either way, I'm not sure how to fix this, and I've fiddled with it for a bit.
Thanks for the help.