None
NO
GotW #102: Assertions and “UB” (Difficulty: 7/10)
['Herb Sutter', 'View All Posts Herb Sutter', 'Herb Sutter Is An Author', 'Speaker', 'A Technical Fellow At Citadel Securities. He Serves As Chair Of The Standard C', 'Foundation', 'Its Conference Cppcon', 'Served As Chair Of The Iso C', 'Standards Committee To']
Sutter’s Mill
Now that we have considered assertions, postconditions, and preconditions in GotWs #97-101, let’s pause and reflect: To what extent does a failed contract imply “UB”… either the Hidden Dragon of Undefined Behavior, or the Crouching Tiger of Unspecified Behavior? (a) undefined behavior (a) is always undefined behavior