A
Alf P. Steinbach
* Alf P. Steinbach:
Well, "Garbage In Garbage Out" (no offense meant but it applies here), sorry, I
should have checked.
Your quote of §5/4 doesn't include the part where it says it's Undefined
Behavior (last sentence), and you state that it doesn't include that phrasing,
and I just assumed that that was correct.
However, that description of §5/4 isn't correct, it says "the behavior is
undefined".
Results above.
It's explicitly UB, and therefore formally not a diagnosable rule.
Cheers & hth.,
- Alf
* Jerry Coffin:
I can't find fault with your logic here,
Well, "Garbage In Garbage Out" (no offense meant but it applies here), sorry, I
should have checked.
Your quote of §5/4 doesn't include the part where it says it's Undefined
Behavior (last sentence), and you state that it doesn't include that phrasing,
and I just assumed that that was correct.
However, that description of §5/4 isn't correct, it says "the behavior is
undefined".
but at the same time this rule
cannot be a diagnosable one (in general).
And so I suggest (1) checking whether C++0x has changed this, and if
not, (2) whether there is an Active Issue, and if not, (3) posting in
[comp.std.c++].
Anyway, it would be nice to know the result of that... ;-)
Results above.
It's explicitly UB, and therefore formally not a diagnosable rule.
Cheers & hth.,
- Alf