[libcxx-commits] [PATCH] D61014: Implement std::midpoint for floating point types
Zoe Carver via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat May 4 19:54:07 PDT 2019
zoecarver added inline comments.
================
Comment at: libcxx/include/numeric:564
+template <class _Fp>
+_LIBCPP_INLINE_VISIBILITY constexpr
+enable_if_t<is_floating_point_v<_Fp>, _Fp>
----------------
Also, maybe use `_LIBCPP_CONSTEXPR`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61014/new/
https://reviews.llvm.org/D61014
More information about the libcxx-commits
mailing list