Comment Comment by thomashabets2 > This is sort of true, except that behavior can be undefined in the standard but defined in your implementation.But then it's not UB, and not the topic at hand. So I wouldn't call it "sort of true" for a statement about UB, because it doesn't apply to not-UB.It's also different in a consteval context. But that doesn't make it less true outside consteval context. parent thomashabets2 16 days ago
But then it's not UB, and not the topic at hand. So I wouldn't call it "sort of true" for a statement about UB, because it doesn't apply to not-UB.
It's also different in a consteval context. But that doesn't make it less true outside consteval context.