D is dead

rikki cattermole rikki at cattermole.co.nz
Thu Aug 23 13:34:01 UTC 2018


On 24/08/2018 1:22 AM, Shachar Shemesh wrote:
> Except what I'd _really_ like to do is for them to be the same thing. 
> I'd like inheritance. Except I can't do that for structs, and if I 
> defined SockAddr as a class, I'd mandate allocating it on the GC, 
> violating the whole point behind writing Mecca to begin with.

Between multiple alias this, DIP1000 and potentially signatures, that 
should be possible. Although you won't need to use override at least ;)


More information about the Digitalmars-d mailing list