Why can't structs be derived from?

Bekenn leaveme at alone.com
Thu Mar 17 23:55:37 PDT 2011


On 3/17/2011 2:36 PM, Andrei Alexandrescu wrote:
>
> I'm with y'all too. Even Walter needs to stop and think for a second.
> We're considering enabling
>
> alias a = b;
>
> as an equivalent for
>
> alias b a;

Please yes.  I'd even be in favor of deprecating the old usage, even 
though every project under the sun (to within experimental error) 
currently uses it.


More information about the Digitalmars-d mailing list