-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillalibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Description
Bugzilla Link | 39871 |
Resolution | FIXED |
Resolved on | Jan 11, 2019 15:19 |
Version | unspecified |
OS | All |
Reporter | LLVM Bugzilla Contributor |
CC | @mclow,@zygoloid |
Extended Description
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
.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillalibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.