Can we just have struct inheritence already?

Walter Bright newshound2 at digitalmars.com
Mon Jun 10 09:51:46 UTC 2019


On 6/9/2019 10:52 PM, Manu wrote:
> That is indeed the feature that necessitates my 'solution'

One possibility is that if the alias this is referring to a struct with no 
fields, it gets a 0 size. This will mimic the behavior of C++.


More information about the Digitalmars-d mailing list