In C++ it is possible to declare a static self-referential class member e.g.
class Employee
{
protected:
int n;
static Employee* empl;
public:
Employee() {}
static void Set(Employee& e);
}
How do I emulate this in Fortran? One way is to declare a global module variable but this is not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.