Welcome, Guest. Please login or register.

Author Topic: Storm C++ 3.0 and pointer a function  (Read 10504 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Darken

  • Newbie
  • *
  • Join Date: Dec 2002
  • Posts: 8
    • Show all replies
    • http://perso.wanadoo.fr/psydk
Re: Storm C++ 3.0 and pointer a function
« on: January 26, 2003, 05:03:02 PM »
The class function sum is expecting as first argument a pointer to a global function, not a pointer to a class function.

Here is the version of sum() which receives a pointer to a test class function :

class test
{
public:
  double sum( double ([color=FF9900]test::[/color]*g)(int m),int n);
};