type_traits.h
19.7 KB
-
type_traits: don't use __is_trivially_relocatable with Clang on Windows. · 6b4af249
It currently gives the wrong result for types with a user-provided destructor: struct S { ~S(); }; static_assert(!__is_trivially_relocatable(S)); PiperOrigin-RevId: 519855600 Change-Id: I5f0659ad0831974805a5ed4b615e3b6250d23154Aaron Jacobs committed