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

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 24 13:23:14 PST 2021


Quuxplusone 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;
+
----------------
Moot now, but FYI, we already have this under the name `__identity_t`.


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