Solution just posted:
GotW #102 Solution: Assertions and "UB"
by Herb Sutter
From the article:
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?
Add a Comment
Comments are closed.