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.