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

In addition, it's actually pretty easy in most cases where you do what a non-trivial constructor and destructor to just delete the other 3, and wrap it in unique_ptr or similar to manage the hard parts. I think I've defined all 5 approximately once, and mostly for the fun of it in a side project.


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

Search: