Why is "delete" unsafe?

Minas minas_mina1990 at hotmail.co.uk
Fri Oct 26 16:03:14 PDT 2012


So the delete keyword has been deprecated - so good bye manual 
memory management...

I have read in some threads that delete is an unsafe operation. 
What does this exactly mean? What is unsafe about it? What does 
it have to do with the GC? (if there was no garbage collection, 
would it be unsafe?)


More information about the Digitalmars-d-learn mailing list