This special Guru of the Week series focuses on contracts. 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? 1. Briefly, what is the difference … Continue reading GotW #102 Solution: Assertions and “UB” (Difficulty: 7/10)→