[Bug c++/116440] [14/15 Regression] [C++20] std::tuple> does not compile

2024-08-21 Thread tianchengyu at tencent dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116440 --- Comment #4 from Tiancheng Yu --- on clang 18.1, works with both libstdc++ (from GCC 13.2.0) and libc++. on clang trunk, works with libc++ (trunk) but not libstdc++ (trunk).

[Bug c++/116440] [14/15 Regression] [C++20] std::tuple> does not compile

2024-08-21 Thread tianchengyu at tencent dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116440 --- Comment #3 from Tiancheng Yu --- (In reply to Jonathan Wakely from comment #2) > It's not very useful to just say something works with clang on godbolt > without considering > whether it's using libc++ or libstdc++, and for the latter, *whi

[Bug c++/116440] [C++20] std::tuple> does not compile

2024-08-21 Thread tianchengyu at tencent dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116440 --- Comment #1 from tianchengyu(余添诚) --- Note that in the sample I used static_assert(std::is_copy_constructible<...>) for testing, but it is not that is_copy_constructible is false. The std::tuple>> type simply does not compile at all. Unsure

[Bug c++/116440] New: [C++20] std::tuple> does not compile

2024-08-21 Thread tianchengyu at tencent dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116440 Bug ID: 116440 Summary: [C++20] std::tuple> does not compile Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3