[libcxx-commits] [libcxx] [libc++] Deprecate `is_pod(_v)` since C++20 (PR #129471)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 6 08:52:36 PST 2025


================
@@ -95,8 +95,8 @@ namespace std
     template <class T> struct is_unbounded_array;               // C++20
 
     // Member introspection:
-    template <class T> struct is_pod;
     template <class T> struct is_trivial;
+    template <class T> struct is_pod;          // Deprecated in C++20
----------------
mordante wrote:

+1 I did no realize the "drive-by" would catch so many things. Thanks a lot for doing this!
I reviewed the "drive-by" changes and I'm happy with them. Feel free to commit these as a separate NFC commit and then commit this patch. (I already approved this patch.)

https://github.com/llvm/llvm-project/pull/129471


More information about the libcxx-commits mailing list