http://llvm.org/bugs/show_bug.cgi?id=19178

            Bug ID: 19178
           Summary: __is_constructible(A) returns true if A is an abstract
                    type.
           Product: clang
           Version: trunk
          Hardware: Macintosh
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

struct Abstract { virtual void f() = 0; };
int main () { static_assert ( __is_constructible(Abstract), "" ); }

Should fail to compile, since you cannot construct an object of type Abstract.
Note that replacing "__is_constructible(Abstract)" with
"std::is_constructible<Abstract>::value does fail.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to