[an error occurred while processing this directive]
|
POINTER TO MEMBER FUNCTIONS
A pointer to a member function can only contain a default function pointer, or a function
pointer that can implicitly be casted to a default function pointer. To use a pointer to a
member function, make sure that all functions that should be pointed to reside in the
default memory or a memory contained in the default memory.
Example
class X
{
public:
__arm void af();
__thumb void tf();
};
void (__arm X::*ap)() = &X::af; // Not allowed in non-interworking Thumb mode
void (__thumb X::*tp)() = &X::tf; // Not allowed in non-interworking ARM mode