[libcxx-commits] [PATCH] D116388: [libc++] Properly handle specializations of std::is_placeholder.

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 10 07:50:06 PST 2022


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

I think that works and is indeed nicer. LGTM with uglification.



================
Comment at: libcxx/include/__functional/bind.h:26
 
-template<class _Tp> struct __is_bind_expression : public false_type {};
-template<class _Tp> struct _LIBCPP_TEMPLATE_VIS is_bind_expression
-    : public __is_bind_expression<typename remove_cv<_Tp>::type> {};
+template<class T>
+struct is_bind_expression : _If<
----------------
We need to uglify this as `_Tp` (applies below too).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116388



More information about the libcxx-commits mailing list