https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120387
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (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