[libcxx-commits] [libcxx] r364058 - Enable aligned_union in C++03
Eric Fiselier via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jun 21 07:45:08 PDT 2019
Author: ericwf
Date: Fri Jun 21 07:45:08 2019
New Revision: 364058
URL: http://llvm.org/viewvc/llvm-project?rev=364058&view=rev
Log:
Enable aligned_union in C++03
Modified:
libcxx/trunk/include/type_traits
libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp
Modified: libcxx/trunk/include/type_traits
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/type_traits?rev=364058&r1=364057&r2=364058&view=diff
==============================================================================
--- libcxx/trunk/include/type_traits (original)
+++ libcxx/trunk/include/type_traits Fri Jun 21 07:45:08 2019
@@ -1797,7 +1797,6 @@ _CREATE_ALIGNED_STORAGE_SPECIALIZATION(0
#undef _CREATE_ALIGNED_STORAGE_SPECIALIZATION
-#ifndef _LIBCPP_HAS_NO_VARIADICS
// aligned_union
@@ -1831,8 +1830,6 @@ struct aligned_union
template <size_t _Len, class ..._Types> using aligned_union_t = typename aligned_union<_Len, _Types...>::type;
#endif
-#endif // _LIBCPP_HAS_NO_VARIADICS
-
template <class _Tp>
struct __numeric_type
{
Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp?rev=364058&r1=364057&r2=364058&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp Fri Jun 21 07:45:08 2019
@@ -6,8 +6,6 @@
//
//===----------------------------------------------------------------------===//
-// UNSUPPORTED: c++98, c++03
-
// type_traits
// aligned_union<size_t Len, class ...Types>
More information about the libcxx-commits
mailing list