[libcxx-commits] [PATCH] D127483: [libc++] Remove uses of __two in	type_traits
    Louis Dionne via Phabricator via libcxx-commits 
    libcxx-commits at lists.llvm.org
       
    Fri Jun 10 08:32:27 PDT 2022
    
    
  
ldionne accepted this revision.
ldionne added a comment.
This revision is now accepted and ready to land.
Thanks for taking these bits of metaprogramming out of the 90's.
================
Comment at: libcxx/include/type_traits:1356
     template <typename _Tp1>
-    static char  __test (
+    static true_type  __test (
         typename __is_destructible_apply<decltype(declval<_Tp1&>().~_Tp1())>::type
----------------
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127483/new/
https://reviews.llvm.org/D127483
    
    
More information about the libcxx-commits
mailing list