B
bern11
I still have a bit of problem with this one since pointer management is
such a critical task in C/C++ programming. I've read it, I understand
it, but I gotta ask: There is no gcdelete function for objects created
with gcnew. Simple set the handle to nullptr and the system will
destroy it. Correct? If it is assigned to another object through a
second gcnew call, the first object will also be detroyed (unless
another reference has been made to it), correct?
such a critical task in C/C++ programming. I've read it, I understand
it, but I gotta ask: There is no gcdelete function for objects created
with gcnew. Simple set the handle to nullptr and the system will
destroy it. Correct? If it is assigned to another object through a
second gcnew call, the first object will also be detroyed (unless
another reference has been made to it), correct?