
News3 days ago
C++26 Made Infinite Loops Legal and We Crashed One by Adding the Word continue
P2809R3 makes an empty infinite loop well defined, and compilers already backported it. We compiled five spellings of the same loop: two produce a real loop, three produce a trap instruction and exit code 133.
Sep 21, 20266 min
