[Bug libstdc++/106676] [C++20] Automatic iterator_category detection misbehaves when `::reference` is an rvalue reference, refuses to accept a forward iterator
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 23 15:43:51 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106676
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I'm not sure it's a wording defect - I think this was a deliberate design
choice. But it's likely to be relaxed.
In any case, libstdc++ correctly implements the standard. If the standard is
relaxed, we'll change too.
More information about the Gcc-bugs
mailing list