[Bug libstdc++/104606] Regression in comparison operator resolution with std::optional

2022-02-19 Thread julien.philippon at epitech dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104606 --- Comment #1 from julien.philippon at epitech dot eu --- I forgot to add that the bug triggers only when using C++ 20. When compiling with `g++ comparison_bug.cxx` the code compiles, but when compiling with `g++ -std=c++20 comparison_bug.cxx`

[Bug libstdc++/104606] New: Regression in comparison operator resolution with std::optional

2022-02-19 Thread julien.philippon at epitech dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104606 Bug ID: 104606 Summary: Regression in comparison operator resolution with std::optional Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal