[libcxx-commits] [libcxx] [libc++][hardening] Always enable all checks during constant evaluation (PR #107713)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Sep 13 07:06:26 PDT 2024
================
@@ -40,8 +40,8 @@
#ifndef TEST_HAS_NO_NASTY_STRING
// Make sure the char-like operations in strings do not depend on the char-like type.
struct nasty_char {
- template <typename T>
- friend auto operator<=>(T, T) = delete;
+ template <typename T, typename U>
+ friend auto operator<=>(T, U) = delete;
----------------
ldionne wrote:
This change looks a bit like something that should be in a separate patch. Is this change required as part of this patch?
https://github.com/llvm/llvm-project/pull/107713
More information about the libcxx-commits
mailing list