Can we just have struct inheritence already?

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Thu Jun 13 09:57:36 UTC 2019


On Thursday, 13 June 2019 at 09:48:20 UTC, Ola Fosheim Grøstad 
wrote:
> Integers don't have undefined values. An integer variable might 
> provide an arbitrary value, but  it does not matter what it is

Just to avoid further confusion, D presumes an integer 
representation that use all the combinations of bits available.

C does not presume a specific integer representation, so in C you 
could in theory have undefined bitpatterns for integer variables 
on very odd or old architectures.

In D you can't.

So there is a difference there.


More information about the Digitalmars-d mailing list