logoalt Hacker News

dieortinyesterday at 12:52 AM2 repliesview on HN

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


Replies

maccardyesterday at 7:49 AM

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

kortillayesterday at 1:23 AM

RAII? shared pointers?