Dear All,
I am wondering if there is a way to know if a data is in heap? My case
is like this:
I have a data and want to shallowly copy it into an object (just pass
its head pointer). If the data is in heap, the object will take charge
of deleting it.
Thanks,
Shuisheng
I am wondering if there is a way to know if a data is in heap? My case
is like this:
I have a data and want to shallowly copy it into an object (just pass
its head pointer). If the data is in heap, the object will take charge
of deleting it.
Thanks,
Shuisheng
Comment