[libcxx-commits] [PATCH] D157753: [libc++][NFC] Update the remaining enable_ifs

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 1 08:46:01 PDT 2023


ldionne accepted this revision.
ldionne added a comment.
This revision is now accepted and ready to land.

LGTM with whitespace nitpick. Also please ensure the CI is green.



================
Comment at: libcxx/include/__type_traits/invoke.h:243
 using __enable_if_bullet1 =
-    typename enable_if<is_member_function_pointer<_DecayFp>::value && is_base_of<_ClassT, _DecayA0>::value >::type;
+    __enable_if_t<is_member_function_pointer<_DecayFp>::value && is_base_of<_ClassT, _DecayA0>::value >;
 
----------------
Here and below.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157753/new/

https://reviews.llvm.org/D157753



More information about the libcxx-commits mailing list