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

I mean it depends on the project and scope, but if you just write C-style code but use unique_ptr, vector, string, and <algorithm>, you're already at an advantage.


I would recommend replacing macros with constexpr to allow type checking.


Yeah and auto. Unique pointers really make one think about ownership.




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

Search: