On Jun 17, 11 15:32, Walter Bright wrote:
On 6/16/2011 11:59 PM, Kagamin wrote:
I mean that function pointers are not documented to allow dereference
operator, that's why behavior of your code is
implementation-dependent. You
spend too much time writing in C++.

I don't know what you mean.

You should call the function pointer as

    return fp(x);

not

    return (*fp)(x);

Reply via email to