[PATCH] D28429: Remove the restriction of ten types on AligedCharArrayUnion
Sean Callanan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 9 11:22:38 PST 2017
spyffe added a comment.
According to the GCC 5 changelist <https://gcc.gnu.org/gcc-5/changes.html>, support for `std::aligned_union` was introduced with GCC 5.
I was able to verify with Compiler Explorer <http://gcc.godbolt.org> that `std::aligned_union` is **unsupported** (as in, not found) by 4.9.5. It is supported by 5.1.
According to Microsoft <https://msdn.microsoft.com/en-us/library/dn986846.aspx>, Visual Studio 2015 supports `std::aligned_union`.
I was able to verify with "Compile Visual Studio C++ Online" <http://rextester.com/l/cpp_online_compiler_visual> that Visual C++ 2015 supports it.
https://reviews.llvm.org/D28429
More information about the llvm-commits
mailing list