Suggestion: class/struct tuples preserve anonymous unions/structs

Walter Bright newshound at digitalmars.com
Thu Feb 15 09:56:57 PST 2007


Jarrett Billingsley wrote:
> I'm not sure how anonymous unions and structs are handled by the compiler. 

This has nothing to do with tuples. Anonymous structs and unions are 
used for layout only, the members are 'promoted' into the enclosing 
aggregate.



More information about the Digitalmars-d mailing list