Comment

Comment by thomashabets2

C++26, IIRC, adds "no time travel" to C++. But note that your example still creates exploding chocolate, so what do you mean by "immune"? C compiler with -std=c23 -O1 produces literally the exact same assembly output.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton