Subtyping of an enum
XavierAP
n3minis-git at yahoo.es
Mon Apr 15 12:41:47 UTC 2019
On Monday, 15 April 2019 at 12:38:59 UTC, XavierAP wrote:
>
> More generally you insist on modules and namespaces to be
> different concepts, which they are (pointlessly) for C++, but
> not for D (purposely).
Here I should say packages instead of modules... but the general
argument stays.
Anyway your design is up to you :) but sub-typing is not
reflexive, in D or any language.
More information about the Digitalmars-d-learn
mailing list