Eliminate "new" for class object creation?

Rainer Deyke rainerd at eldwood.com
Mon Oct 19 16:00:46 PDT 2009


Andrei Alexandrescu wrote:
> I hereby suggest we get rid of new for class object creation. What do
> you guys think?

*applause*

'X(x)' and 'new X(x)' have distinct meanings in C++.  In Java/C#/D, the
'new' is just line noise.


-- 
Rainer Deyke - rainerd at eldwood.com



More information about the Digitalmars-d mailing list