Modified version of Andy Kirkhams FPointer.h Advantages: - reduced size of from 12 -> 8 byte by usage of a unnamed union - speedup function call by removing one error check - replaced call() function by () operator - templated: you can define the return and argument types - implementations provided for 1 and 2 arguments, easy extendable to more arguments

Dependencies:   mbed

Download repository: zip gz

Files at revision 0:e62fc62bc488

Name Size Actions
FunctionPointers.h 2950 Revisions Annotate
main.cpp 258 Revisions Annotate
mbed.bld 66 Revisions Annotate