Can we just have struct inheritence already?

Meta jared771 at gmail.com
Tue Jun 11 20:22:07 UTC 2019


Quick question, Manu. What are referring to when you say 
"uninitialized data"? Do you mean:

int n = void;
n++; //Undefined behaviour

Struct S { int getVal() { return 1; } }
S s = void;
s.getVal(); //Undefined behaviour

Or do you mean:

int n;
n++;

S s;
s.getVal();



More information about the Digitalmars-d mailing list