[libcxx-commits] [PATCH] D113161: [libc++] Implement P1989R2: range constructor for string_view

Joe Loser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 24 14:56:40 PST 2021


jloser added inline comments.


================
Comment at: libcxx/include/type_traits:1417-1418
 
+template<class _Tp> struct __type_identity { typedef _Tp type; };
+template<class _Tp> using __type_identity_t = typename __type_identity<_Tp>::type;
+
----------------
Quuxplusone wrote:
> Moot now, but FYI, we already have this under the name `__identity_t`.
Good to know, thanks. I didn't look around too hard since it was mostly a stab to try to get windows-dll builds working. I'll remove this anyway soon as you know.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113161



More information about the libcxx-commits mailing list