Update is_trivially_copyable tests with CWG 2094
Clang 5.0 implements these changes here: https://github.com/llvm-mirror/clang/commit/87cd035326a39523eeb1b295ad36cff337141ef9
MSVC++ will implement these changes in the first toolset update to 2017.
Differential D33021
[libcxx] [test] libc++ test changes for CWG 2094 BillyONeal on May 9 2017, 4:48 PM. Authored by
Details Update is_trivially_copyable tests with CWG 2094 Clang 5.0 implements these changes here: https://github.com/llvm-mirror/clang/commit/87cd035326a39523eeb1b295ad36cff337141ef9
Diff Detail
Event Timeline
Comment Actions In general, I prefer having the space between static_assert( and the condition. That makes it easy (at least for me) to see if there's a ! there or not. FWIW, I think this is a language change that core got wrong, and it has already come back to bite us. (https://bugs.llvm.org/show_bug.cgi?id=28527) Comment Actions Hmm.... we actually took steps to do the opposite in std::copy -- to use memcpy even in the presence of volatile -- as a result of this change. It looks like Core wasn't a fan of doing this either, but that the Itanium ABI forced their hand. Comment Actions LGTM. The bots are already failing because I upgraded their compilers. @BillyONeal Can you commit this soon so I can clean up any fallout? |