The Old New Thing

Undefined behavior can result in time travel (among other things, but time travel is the funkiest)

The C and C++ languages are notorious for the very large section of the map labeled here be dragons, or more formally, undefined behavior. When undefined behavior is invoked, anything is possible. For example, a variable can be both true and false. John Regehr has a list of interesting examples, as well as some winners of the ensuing ...
Comments are closed.0 0
Code