https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115939
Jiang An <de34 at live dot cn> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |de34 at live dot cn --- Comment #4 from Jiang An <de34 at live dot cn> --- (In reply to Jonathan Wakely from comment #3) > I'll get to work on the std::expected proposal (which I expect will get > treated as a DR for C++23 by all implementers, certainly in libstdc++). Once > I've drafted that proposal, I'll push the corresponding code changes to > libstdc++. It seems to me that it's still needed to fix operator== for container iterators after patching std::expected. IIUC the current standard wording doesn't allow such iterator comparison to be hacked.