J
Jon
I am using the following code in a header, in a mixed C++ program:
class C {
public:
C& I() {
static C c;
return c;
}
};
The internal Boolean that indicates that c has been constructed is at a different locations depending on if it is call from a unit
with or without the /clr option.. Of course this causes c to be constructed twice.
class C {
public:
C& I() {
static C c;
return c;
}
};
The internal Boolean that indicates that c has been constructed is at a different locations depending on if it is call from a unit
with or without the /clr option.. Of course this causes c to be constructed twice.