How to get compatible symbol names and runtime typeid names for templated classes?
cc
cc at nevernet.com
Tue May 3 17:25:06 UTC 2022
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.
More information about the Digitalmars-d-learn
mailing list