[libcxx-commits] [PATCH] D67900: [libc++] Use builtin type traits whenever possible
Zoe Carver via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Mar 14 13:57:47 PDT 2020
zoecarver marked an inline comment as done.
zoecarver added inline comments.
Herald added a reviewer: libc++.
================
Comment at: libcxx/include/type_traits:561
template <class _Tp, class _Up>
_LIBCPP_INLINE_VAR _LIBCPP_CONSTEXPR bool is_same_v
= is_same<_Tp, _Up>::value;
----------------
ldionne wrote:
> I think it's reasonable to change the `meow_v` variable templates to use intrinsics in this patch too, WDYT? Especially since you're doing it for `is_integral_v` below.
Yep. Will do.
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