[libcxx-commits] [PATCH] D67900: [libc++] Use builtin type traits whenever possible

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 8 11:07:11 PDT 2019


ldionne requested changes to this revision.
ldionne added a comment.
This revision now requires changes to proceed.

Like Richard said before, we can't switch type traits to aliases. However, we can always do:

  template <class _Tp>
  struct is_const : integral_constant<bool, __is_const(_Tp)> { };

Can you switch back all the aliases to structs like that?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67900





More information about the libcxx-commits mailing list