Can now use alias for collapsing multiple fields in nested structs

Walter Bright newshound2 at digitalmars.com
Mon Jan 6 08:34:45 UTC 2025


On 1/2/2025 11:58 AM, Derek Fawcus wrote:
> That does not yield the ability to reference the inner part as an entity/group.  
> Whereas that is possible with the D struct I proposed.

True, but it is a very minor convenience and there is still a simple way to do 
the equivalent.

D doesn't have a separate tag name space for C struct tags, either. Please don't 
ask for it :-/



More information about the Digitalmars-d mailing list