[llvm-bugs] [Bug 32072] New: Class no longer convertible after declaration member of type std::function<Class()>

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Feb 25 14:42:00 PST 2017


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

            Bug ID: 32072
           Summary: Class no longer convertible after declaration member
                    of type std::function<Class()>
           Product: clang
           Version: 4.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jvapen at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18027
  --> https://bugs.llvm.org/attachment.cgi?id=18027&action=edit
Reproduction

The result of std::is_convertible<C, C>::value is dependend on having a member
of type: std::function<C()>

Full reproduction, see attachment.

Found on Clang-Cl 4.0.0-RC2, compiles on MSVC2015

-- 
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/20170225/bf1fa412/attachment.html>


More information about the llvm-bugs mailing list