Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Callbacks in C++ using template functors – Rich Hickey (1994) (tutok.sk)
2 points by vmorgulis on Aug 31, 2016 | hide | past | favorite | 1 comment


how far C++ has come in .. oh heck, it's been 22 years since that article was written! Modern (C++11 and newer) approaches to solving this problem are made much better by language advances like variadic templates (no need to supply one template for each different number of arguments!), perfect forwarding, and of course lambdas.




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

Search: