Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Is this a more efficient implementation than "FunctionPointer.h"?
I'm especially interested in the invoking function. FunctionPointer.h uses a memcpy to copy the address over into a new pointer and then invokes the pointer. This one type casts the array pointers into object and function pointers and then invokes it.
May I please have comments or suggestions? Thank you.