[llvm-bugs] [Bug 39871] New: std::tuple_size should be a struct

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Dec 3 10:08:36 PST 2018


            Bug ID: 39871
           Summary: std::tuple_size should be a struct
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ag at arvid.io
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

Currently `std::tuple_size` is declared as `class tuple_size`. According to the
C++ standard, `tuple_size` is a `struct`

This creates portability problems between libcxx and libstdc++, which correctly
declares it as a `struct`. Currently using either will result in

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/20181203/c52d679d/attachment.html>

More information about the llvm-bugs mailing list