Wouldn't it be easier to make the typedef a Phobos solution and end this debate once and for all? Sure, the definition won't look as pretty as typedef did, but still...
On Mon, Jan 23, 2012 at 1:22 AM, Nick Sabalausky <a@a.a> wrote: > "Walter Bright" <newshou...@digitalmars.com> wrote in message > news:jfhj4v$l2b$1...@digitalmars.com... >> On 1/22/2012 9:44 AM, equi...@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. > > -- Bye, Gor Gyolchanyan.