A
amitmehrotra007
I have an old fortran library which has a function f1 which expects a
function pointer to be passed to it of the type
double(*) (const double &)
I have a class Foo which has two functions
class Foo
{
public:
double f2 (const double &);
void f3 ();
};
applicable in this case?
function pointer to be passed to it of the type
double(*) (const double &)
I have a class Foo which has two functions
class Foo
{
public:
double f2 (const double &);
void f3 ();
};
function f1. What is the cleanest way of doing this? Is mem_funFrom within f3(), I want to pass Foo::f2 as an argument to my Fortran
applicable in this case?