[libc++] Implement LWG 2911 - add an is_aggregate type-trait
authorEric Fiselier <eric@efcs.ca>
Wed, 12 Apr 2017 23:08:46 +0000 (23:08 +0000)
committerEric Fiselier <eric@efcs.ca>
Wed, 12 Apr 2017 23:08:46 +0000 (23:08 +0000)
commitda04d79a1f79f3fc1e83fc6907cf2e05cdc7291f
tree6db851c7d7454a991afc7bc9f0c0109bc6fc5b14
parent81c03a778449098627684730ad3d8a0533ded13d
[libc++] Implement LWG 2911 - add an is_aggregate type-trait

Summary:
This patch implements http://cplusplus.github.io/LWG/lwg-defects.html#2911.

I'm putting this up for review until __is_aggregate is added to clang (See D31513)

Reviewers: mclow.lists

Reviewed By: mclow.lists

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D31515

llvm-svn: 300126
libcxx/include/__config
libcxx/include/type_traits
libcxx/test/libcxx/utilities/meta/meta.unary/meta.unary.prop/missing_is_aggregate_trait.fail.cpp [new file with mode: 0644]
libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_aggregate.pass.cpp [new file with mode: 0644]
libcxx/www/cxx1z_status.html