allocate array with new

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Tue May 15 11:56:44 PDT 2012


On 15/05/12 20:19, Jonathan M Davis wrote:
> If you want to be doing manuabl memory management, then you use malloc and
> free. new _always_ uses the GC. delete is going to be _removed from the
> language_, so it's not an option.

OK.  It's just that this is a distinct break with C++ syntax, so might be worth 
highlighting in documentation.



More information about the Digitalmars-d-learn mailing list