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

Why use C++ at that point? Also, pre declaring classes instead of including the corresponding headers has quite a few drawbacks.


References, for one. Also there’s a huge difference between “avoid templates unless necessary” and “don’t use templates”.


RAII? shared pointers?




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

Search: