FRIDAY, APRIL 17, 2026
libstdc++ — Impact 5 / 10
libstdc++: Fix constraint recursion in std::indirect's operator==.
This patch avoids constraint recursion in `std::indirect`'s `operator==` by using a dependent function parameter.
The operator== for std::indirect was susceptible to constraint recursion due to the way the Mandates were implemented as an associated constraint. The fix replaces the non-dependent std::indirect function parameter with a dependent one, similar to the fix applied to std::expected and std::basic_const_iterator. A new test case has also been added.