2 ms·
Do you want to tell that this is correct and bug free code ? This is a example how to create lot of Memory Leaks.
by Devid2014 11y ago
Do you want to tell that this is correct and bug free code ?
This is a example how to create lot of Memory Leaks.
- KeytarHero 11y agoIt's certainly not bug free. But that's not the point. All I did was rewrite that example with half as much code. The point of that example seems to be "look how much less code RAII takes!" and I'm just trying to show that, although you should use RAII, that's not the reason why.
- deleted 11y ago[deleted]