T[new] misgivings

Walter Bright newshound1 at digitalmars.com
Thu Oct 15 20:16:56 PDT 2009


Andrei Alexandrescu wrote:
> This goes into something more interesting that I thought of after the 
> conversation. Consider:
> 
> T[new] a;
> T[] b;
> ...
> a = b;
> 
> What should that do?

Error. T[] cannot be implicitly converted to T[new]



More information about the Digitalmars-d mailing list