[Bug libstdc++/120387] constraint on expected's comparison operator causes infinite recursion, overload resolution fails
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120387 --- Comment #5 from Jonathan Wakely --- The instructions at https://gcc.gnu.org/bugs/ are very explicit about including that information. 15.1.1 is not a release, it's any snapshot between the date of the 15.1.0 release and now, so is not enough to tell us what you're using. That's why we ask for the 'gcc -v' output.
[Bug libstdc++/120387] constraint on expected's comparison operator causes infinite recursion, overload resolution fails
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120387 --- Comment #4 from Justen Di Ruscio --- Pardon me for not seeing that this has been resolved. I'll also ensure to expressly include the output of 'gcc -v', as opposed to mentioning the version, even if the cause is provided. This is my first report.
[Bug libstdc++/120387] constraint on expected's comparison operator causes infinite recursion, overload resolution fails
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120387 --- Comment #1 from Jonathan Wakely --- *** Bug 120388 has been marked as a duplicate of this bug. ***
[Bug libstdc++/120387] constraint on expected's comparison operator causes infinite recursion, overload resolution fails
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120387 --- Comment #3 from Jonathan Wakely --- (In reply to Justen Di Ruscio from comment #0) > The specific function causing the error is here > (https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libstdc%2B%2B-v3/include/std/ > expected;h=5dc1dfbe5b8a954826d2779a9cbc51c953b5e5f0; > hb=1b306039ac49f8ad91ca71d3de3150a3c9fa792a#l1172), where its definition is > as such: If you look at the current code instead of an older version, you'll see it's different: https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libstdc%2B%2B-v3/include/std/expected;hb=releases/gcc-15#l1172
[Bug libstdc++/120387] constraint on expected's comparison operator causes infinite recursion, overload resolution fails
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120387 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Jonathan Wakely --- This is PR119714 which is already fixed. You didn't show the output of 'gcc -v' as requested, but I suspect you're using a snapshot before that fix. *** This bug has been marked as a duplicate of bug 119714 ***