Search

2 days ago
DIP Ideas »
...is(Child : Parent)``

The same as a class has. Something the compiler certainly has the...
2 days ago
DIP Ideas »
...the various issues that you get with class inheritance and objects on the stack in...
2 days ago
DIP Ideas »
...marked a variable with @property in a class or struct, you'd get an actual...
2 days ago
General »
...Parent
	}
}

class Child : Parent {
}
```

How it has to be implemented today to work:


```d
class...
2 days ago
DIP Ideas »
...that in the case of classes means the user writing code for every child class.
2 days ago
Announce »
...less than people thought. To `new` a class, you didn't really need a GC...
3 days ago
DIP Ideas »
...Inherit");

    writeln();
    parent = child;
    parent.methB("Assign");
}

class Parent {
    void methB(string s) {
     	writeln("MethB...
3 days ago
DIP Ideas »
...methB();

    writeln();
    Parent parent = child;
    parent.methB;
}

class Parent {
    void methB() {
     	writeln("MethB(P) ", typeof...
4 days ago
General »
...had this implemented as the `__local` storage class, but I did not include it in...
4 days ago
DIP Ideas »
...classes.

```d
interface IField {
    @property int field;
}

class Thing : IField {
    @property int field;
}

struct Thing2...
1 2 3 4
Next ›   Last »