[Bug libstdc++/100070] Standard library container iterator-pair constructors should check C++20 iterator concepts

ppalka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 12 21:50:22 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100070

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=100795

--- Comment #9 from Patrick Palka <ppalka at gcc dot gnu.org> ---
This seems to be related to the correctness bug PR100795: some of our
ranges::algos (e.g. ranges::inplace_merge) are implemented as simple wrappers
over the corresponding std::algo, but that breaks in cases where the std::algo
has a minimum requirement on the range's iterator_category..


More information about the Gcc-bugs mailing list