[llvm-bugs] [Bug 49746] New: implicit instantiation of undefined template std::tuple_sizeauto

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Mar 28 06:13:47 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=49746

            Bug ID: 49746
           Summary: implicit instantiation of undefined template
                    std::tuple_sizeauto
           Product: libc++
           Version: 11.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: pro.guillaume.dua at gmail.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

Not sure if this is error is caused by the way `std::tuple_size` 's SFINAE is
implemented, and/or the way template-template-parameters are instanciated in
such context.

https://godbolt.org/z/GGs7ndKE4

```log
error: implicit instantiation of undefined template 'std::tuple_size<auto>'
```

Also, Clang-CL add this error message previously to the one mentioned above :

```log
error : cannot mangle this 'auto' type yet
```

See also the original discussion on SO :
https://stackoverflow.com/questions/66821952/clang-error-implicit-instantiation-of-undefined-template-stdtuple-sizeauto/66822584

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210328/2c28e86f/attachment-0001.html>


More information about the llvm-bugs mailing list