[clang] [Clang][Bytecode] Implement P1061 structured binding pack (PR #146474)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 1 02:03:43 PDT 2025


================
@@ -17,7 +18,7 @@ struct fake_tuple {
   int arr[4] = {1, 2, 3, 6};
 
   template <unsigned i>
-  int get() {
+  constexpr int& get() {
----------------
tbaederr wrote:

Were these two functions never called in a constant context before?

https://github.com/llvm/llvm-project/pull/146474


More information about the cfe-commits mailing list