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

In practice, people would (hopefully) wrap the whole thing in a smart pointer anyway, instead of manually calling addRef() and release(). But for COM style interfaces you need the release() method because you only want to expose pure virtual interfaces.



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

Search: