Can we just have struct inheritence already?
Timon Gehr
timon.gehr at gmx.ch
Fri Jun 14 01:24:49 UTC 2019
On 13.06.19 23:23, Timon Gehr wrote:
>>
>
> Basically, it could be argued that `void` initialization of a `bool`
> variable is already memory corruption. It's indistinguishable from
> someone holding a dangling `char*` to your `bool` memory and then
> writing a value other than '\0' or '\xff'.
It seems that Tim's explanation with ~ wasn't exactly what's actually
going on and that it is rather x^1, so this should be "other than '\0'
or '\1'".
More information about the Digitalmars-d
mailing list