typedef deprecated - now what ?
Stewart Gordon
smjg_1998 at yahoo.com
Sun Jan 1 13:40:01 PST 2012
On 31/12/2011 13:34, Trass3r wrote:
> Basically it was deprecated because it's poorly defined and implemented.
<snip>
Would you care to elaborate? Moreover, if that's the only reason then
why not improve it rather than getting rid of it?
> There are several types of typedefs that need to be available: parallel,
> opaque, supertype and subtype.
> See http://d.puremagic.com/issues/show_bug.cgi?id=5467
I see. So the built-in typedef is closest in semantics to subtype, but
leaves bits to be desired.
Stewart.
More information about the Digitalmars-d-learn
mailing list