nye@esvax.berkeley.edu (Bill Nye) (11/07/88)
I keep reading things here and there about references to heap memory being dropped and how operator= and X(X&) constructors can be used to avoid this. Is there any way I can PRINT OUT in some way information about everything that is currently on the heap? I don't have to be able to decipher anything about the individual allocations, just see what is there. For example, if I perform this printout both BEFORE and AFTER I do something questionable in C++, I might be able to tell if something is dangling by just seeing MORE things allocated AFTER than BEFORE. Bill Nye (nye@esvax.berkeley.edu)