Hacker News new | past | comments | ask | show | jobs | submit login

It is a library class, because C++ is a rich enough language to implement automatic refcounting as a library class, by hooking into the appropriate lifecycle methods (copy ctor, dtor).



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

Search: