Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 5.1. Remember to free the class instances

> The class instances have to be manually freed, otherwise you get memory leaks.

This was the most annoying part back in the Turbo Pascal days, I am surprised it is still there. I'd think with all the changes (generics, etc..) they could have added a smart pointer class?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: