delete gcnew

May 9, 2011 at 9:04am
closed account (3TXyhbRD)
I got the next code
1
2
System::String ^str = gcnew System::String("abecedar");
delete str;

Will delete free the memory str refers to?
Topic archived. No new replies allowed.