On Tuesday, 3 May 2022 at 17:05:09 UTC, H. S. Teoh wrote:
Oops, sorry, I made a mistake. The definition of Serializable should be:

        class Serializable(Base, Derived = Object) : Base {}

There we go, works with this, now I get what it's trying to do:
```d
class Serializable(Base, Derived = Object) : Derived {
```

What's the purpose of the `static struct Proxy`? The `static this()` seems to work without being enclosed in a structure.

Reply via email to