News for hackers. Stuff that matters.
Re:Own Constant Folder in C/C++ by tialaramex on Saturday June 22, 2024 @12:59PM (#40760424)
Because the language works by textual inclusion and so a "translation unit" isn't really just your code this is much more likely to result in nasty surprises, up to and including ODR violations.
Re:Own Constant Folder in C/C++ by gpderetta on Saturday June 22, 2024 @01:47PM (#40760752)
Yes, if you try hard enough I'm sure you can find ways to screw up.

From a practical point of view it is fine.