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

            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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Currently `std::tuple_size` is declared as `class tuple_size`. According to the
C++ standard, `tuple_size` is a `struct`
(http://eel.is/c++draft/tuple.helper#lib:tuple_size). 

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to