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

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 6 00:48:39 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
----------------
philnik777 wrote:

This is getting a bit out of scope IMO. Half the patch isn't about deprecating `is_pod` anymore.

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


More information about the libcxx-commits mailing list