Is using a union through more than one member legal in D?

Ali Çehreli acehreli at yahoo.com
Tue May 4 11:43:38 PDT 2010


It is unspecified behavior in C++ to access any member of a union other 
than the one that was used last to store a value in it.

Is that the case with D as well?

Ali


More information about the Digitalmars-d-learn mailing list