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

Iain Buclaw ibuclaw at ubuntu.com
Mon Jan 23 05:08:52 PST 2012


On 22 January 2012 18:05, Walter Bright <newshound2 at digitalmars.com> wrote:
> 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.

+1

Walter, what are your views on emitting the names of aliased types to debug?


-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the Digitalmars-d mailing list