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

            Bug ID: 43646
           Summary: variant converting constructor fails for primitives
           Product: libc++
           Version: 9.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Minimal testcase: https://wandbox.org/permlink/ehmmOwVOnMDieULB (includes
output of clang++ -v).

The problem did not exist in v8.0.0.

Note that the implementation of
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0608r3.html might be
related, but p0608 itself shouldn't be causing the variant converting
constructor to not match.

Compared to before, p0608 only requires that `double x[] = {600};` is well
formed. See https://wandbox.org/permlink/WZv2Qb98GcYD5JR5

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

Reply via email to