Walter Bright: > The "holes" are defined to be filled with 0, and are when initialized by > the compiler. This is specifically so that memcmp can be done to compare > the struct contents.
Thank you for your answer. I didn't read this important detail in the online documentation, I must have missed it, sorry. It's a detail that D programmers must keep in mind well. A future lint program for D will need to try to warn the programmer that using the default opEquals among uninitialized structs is wrong. Bye, bearophile