T[new]

Stewart Gordon smjg_1998 at yahoo.com
Mon Aug 10 11:38:24 PDT 2009


Since nobody's yet asked....

What type would .dup and .idup return?

The best choice I can see is to make .dup return T[new] and .idup return 
invariant(T)[].

Stewart.



More information about the Digitalmars-d mailing list