[libcxx-commits] [libcxx] [libc++] Fix complexity guarantee in std::clamp (PR #68413)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Oct 9 11:26:12 PDT 2023
================
@@ -82,31 +93,29 @@ constexpr bool test() {
auto low = S{20};
auto high = S{30};
// Check that the value category of the projection return type is preserved.
- assert(&std::ranges::clamp(val, low, high, Comp{}, &S::lvalue_proj) == &low);
----------------
EricWF wrote:
Can you say more about why these tests go away?
https://github.com/llvm/llvm-project/pull/68413
More information about the libcxx-commits
mailing list