[bindings/win32] Migration from typedef

Jacob Carlborg doob at me.com
Wed Dec 21 23:24:41 PST 2011


On 2011-12-21 23:56, Vladimir Panteleev wrote:
> Now that typedef is deprecated in D2, how should libraries that support
> both D1 and D2 adjust? Should it be simply changed to an alias, or
> replaced with a string mixin hack? What's the impact of changing
> typedefs to aliases in a widely-used library?

I was hoping that D2 would allow typedefs in a version statement, but 
that's not the case. D2 still recognizes "typedef" so it's not the same 
problem as with D1 and the new D2 keywords.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list