[PATCH] [libcxx] Cleanup and fix is_destructible and tests in C++03.

Eric Fiselier eric at efcs.ca
Tue Nov 18 18:23:07 PST 2014


Hi mclow.lists, danalbert,

There are a couple of changes in this patch:

1. Fix is_nothrow_destructible<int[]> in C++03 mode to be false.
2. Wrap access control tests in #ifdef block
3. Wrap deleted function tests in #ifdef block.
4. Make the destructor public for the Abstract and AbstractDestructor types.

http://reviews.llvm.org/D6316

Files:
  include/type_traits
  test/utilities/meta/meta.unary/meta.unary.prop/is_destructible.pass.cpp
  test/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_destructible.pass.cpp
  test/utilities/meta/meta.unary/meta.unary.prop/is_trivially_destructible.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6316.16364.patch
Type: text/x-patch
Size: 4589 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141119/a28af10a/attachment.bin>


More information about the cfe-commits mailing list