On 9/3/2013 2:43 PM, Ali Çehreli wrote:
On 09/03/2013 12:35 PM, Walter Bright wrote:Some background:Ooh! This one has a very interesting excerpt: http://stackoverflow.com/a/10971748 "If the struct-declaration-list does not contain any named members, either directly or via an anonymous structure or anonymous union, the behavior is undefined." So the question is moot because empty struct has undefined behavior... in C... perhaps in D as well... Sweet! :)
In C++ it is defined.