[libcxx-commits] [libcxx] [libc++][math] Add `constexpr` to classification / comparison functions (PR #210075)
Lucas Mellone via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jul 18 09:20:03 PDT 2026
================
@@ -137,47 +137,52 @@ template <class _A1, __enable_if_t<is_integral<_A1>::value, int> = 0>
// isgreater
template <class _A1, class _A2, __enable_if_t<is_arithmetic<_A1>::value && is_arithmetic<_A2>::value, int> = 0>
-[[__nodiscard__]] inline _LIBCPP_HIDE_FROM_ABI bool isgreater(_A1 __x, _A2 __y) _NOEXCEPT {
+[[__nodiscard__]] inline _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI bool
----------------
lknknm wrote:
Done, thanks!
https://github.com/llvm/llvm-project/pull/210075
More information about the libcxx-commits
mailing list