Both C++11 and C++14, in their index, have their entry for "undefined behavior" pointing to the section [istreambuf.iterator]
. As far as I can see, there is no obvious reason for this, and C++03's entry pointed to [defns.undefined]
.
What am I missing? Or is it just an editorial mistake?
(As of 13th October, I cannot find any matching open or closed Core Working Group issues matching this observation.)
The people over at std-discussion seem to agree that this is just an editorial issue.
I therefore raised it as such, so that it became draft issue 409 on github; it was promptly resolved and closed.
I will one day update this answer a final time with an identifier for the first draft containing the fix; the first standard it appears in will be C++17.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With