[libcxx-commits] [libcxx] Make C++ 20 std::midpoint compatible with libc++ (PR #74217)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Dec 18 12:49:33 PST 2023


================
@@ -51,19 +51,12 @@ _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK
     return __a + __half_diff;
 }
 
-
 template <class _TPtr>
----------------
ldionne wrote:

I would suggest renaming this template parameter to `_Tp` since now this is just a normal type, not a pointer anymore.

https://github.com/llvm/llvm-project/pull/74217


More information about the libcxx-commits mailing list