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

Yes, the purpose of C++ templates (not macros, macros are C preprocessor) is to implement generic classes and functions, not to implement arbitrary computation, and (iirc) it was only discovered after their publication that they are in fact Turing-complete.


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

Search: