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

tl;dr: "Generally, whenever you need the derived class information in the base class, you are probably looking for CRTP."


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

Search: