Re:C++ Modules Might Be Dead-On-Arrival
by sobellian on Monday January 28, 2019 @08:20PM
(#19022856)
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.
[ Parent
| on HN ]
There are no comments on this comment yet.