[PATCH] Fix for libc++ bug #20096 http://llvm.org/bugs/show_bug.cgi?id=20096

Marshall Clow mclow.lists at gmail.com
Wed Jun 25 18:26:15 PDT 2014


The existing implementation of is_destructible assumes that if a class is abstract, then it is not destructible. Apparently, the fact that you can't construct one of these objects doesn't mean that you can't destruct them.

http://reviews.llvm.org/D4306

Files:
  include/type_traits
  test/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp
  test/utilities/meta/meta.unary/meta.unary.prop/is_destructible.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4306.10874.patch
Type: text/x-patch
Size: 4255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140626/8ea40fcb/attachment.bin>


More information about the cfe-commits mailing list