News for hackers. Stuff that matters.
Re:The C++ Iceberg by skitter on Wednesday May 08, 2024 @08:59AM (#40297614)
Compilers don't claim that part of the standart doesn't exist, they just go eith option 1: Ignoring the situation. E.g. if one branch of an if-statement is UB, compilers ignore that that branch can happen and only need to compile the branch they know exists.
Re:The C++ Iceberg by mpweiher on Wednesday May 08, 2024 @12:54PM (#40300279)
No, that's not ignoring the situation. Ignoring the situation is compiling the code and performing whatever operation happens, for example an out of bounds access.