Skip to main content

One doc tagged with "compiler-optimization"

View all tags

Undefined Behavior

Undefined Behavior (UB) occurs when the C++ standard places no requirements on what happens in a given situation. The program may crash, produce incorrect results, or appear to work correctly—there are no guarantees.