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

            Bug ID: 41714
           Summary: std::tuple<> is not trivially constructible
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: raf...@espindo.la
                CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com

Clang -std=c++17 compiles the following if using libstdc++:

#include <tuple>
static_assert(std::is_trivially_constructible_v<std::tuple<>>);

But adding -stdlib=libc++ causes

test.cc:3:1: error: static_assert failed due to requirement
'std::is_trivially_constructible_v<std::__1::tuple<>>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to