[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
       
    Wed Mar  5 10:03:46 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:
I personally feel `Since C++23` is more descriptive. Especially since we also have things like `Deprecated since C++23`, and `Removed since C++23`. Only the version seems not great at describing what the comment means.
https://github.com/llvm/llvm-project/pull/129471
    
    
More information about the libcxx-commits
mailing list