https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120415
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=120325
--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #6)
> I suspect this is a similar problem to Bug 120325 i.e. an iterator type
> which is not compatible with C++20 rules, and needs to be fixed or opt-out
> of being a C++20 random access iterator.
And yes, this is exactly the problem.
C++20 has a lot of new rules, code that uses -std=c++20 needs to follow them.
But changing the library semantics between 14.2.0 and 14.3.0 isn't ideal ...