C++ Logo

std-discussion

Advanced search

Re: Schrödinger's UB

From: Jason McKesson <jmckesson_at_[hidden]>
Date: Sat, 3 Dec 2022 09:32:05 -0500
[intro.abstract]3 says "executing that program with that input". That
is, if you have conditional UB, and never get any "input" that would
trigger the conditional UB, then you have well-defined behavior.

Received on 2022-12-03 14:34:03