Open headlessme opened 8 years ago
The problem here is that function pointer uses pointers to pull arguments through a va_args funciton. I use pointers there because references cannot traverse va_args lists. Unfortunately, this creates a bit of a limitation.
If we use C++11, the use of variadic macros will make it possible to remove this limitation.
ARM Internal Ref: IOTSFW-977
Should FunctionPointer work with reference types as its template arguments?
For example:
used like this:
gives an error like:
@bremoran @autopulated