[libcxx-commits] [PATCH] D135469: [libc++] <type_traits>: Avoid instantiating a pointer type.

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 7 11:11:44 PDT 2022


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

Please add a regression test in `libcxx/test/std/meta/type.traits/meta.trans/meta.trans.other`.



================
Comment at: libcxx/include/__type_traits/decay.h:45
                          is_array<_Up>::value,
-                         __remove_extent_t<_Up>*,
+                         typename add_pointer<__remove_extent_t<_Up>>::type,
                          typename conditional
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135469



More information about the libcxx-commits mailing list