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

I gave an example of a template program to show the general method. Obviously, primality is decidable, but there exist candidate C++ programs whose parse tree is undecidable. The trick would be to encode your parser in a template, run it on the undecidable program (i.e., itself), and create a contrary result. Does this have any effect on practical C++ builds? I honestly have no idea.


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

Search: