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

I will often have functions that accept a unique_ptr as a parameter. This way, I can clearly encode that the object belongs to the callee now.


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

Search: