Working the type_traits area: Hooked up to clang's __is_union. Got has_trivial_copy_assign working.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@113162 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant
2010-09-06 19:10:31 +00:00
parent f6547cbf61
commit 1387038988
5 changed files with 39 additions and 9 deletions

View File

@@ -12,6 +12,7 @@
// integral_constant
#include <type_traits>
#include <cassert>
int main()
{
@@ -19,6 +20,7 @@ int main()
static_assert(_5::value == 5, "");
static_assert((std::is_same<_5::value_type, int>::value), "");
static_assert((std::is_same<_5::type, _5>::value), "");
static_assert((_5() == 5), "");
static_assert(std::false_type::value == false, "");
static_assert((std::is_same<std::false_type::value_type, bool>::value), "");