[llvm-bugs] [Bug 43646] New: variant converting constructor fails for primitives

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 11 03:51:22 PDT 2019


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: unassignedclangbugs at nondot.org
          Reporter: pj at patrickjohnston.org
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191011/68f47302/attachment-0001.html>


More information about the llvm-bugs mailing list