[libcxx-commits] [PATCH] D59099: Integer and pointer types of 'midpoint' from P0811

Marshall Clow via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Mar 30 13:28:32 PDT 2019


mclow.lists marked 5 inline comments as done.
mclow.lists added inline comments.


================
Comment at: libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.integer.pass.cpp:29
+
+    static_assert(std::is_same_v<T, decltype(std::midpoint(T(), T()))>, "");
+    static_assert(                  noexcept(std::midpoint(T(), T())), "");
----------------
zoecarver wrote:
> nit: any reason not to use`ASSERT_SAME_TYPE`?
I actually changed that before I committed.


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

https://reviews.llvm.org/D59099





More information about the libcxx-commits mailing list