typedef, why did it go? Is there anything instead?

Nick Sabalausky a at a.a
Sun Jan 22 13:22:17 PST 2012


"Walter Bright" <newshound2 at digitalmars.com> wrote in message 
news:jfhj4v$l2b$1 at digitalmars.com...
> On 1/22/2012 9:44 AM, equinox at atw.hu wrote:
>> I noticed I cannot use typedef any longer in D2.
>> Why did it go?
>
> typedef turned out to have many difficult issues about when it was a 
> distinct type and when it wasn't.

Fortunately, you should still be able to get the same effect of typedef with 
a struct and alias this. 




More information about the Digitalmars-d mailing list