[libcxx-commits] [libcxx] [libc++] Constrain additional overloads of `pow` for `complex` harder (PR #110235)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Oct 21 11:30:14 PDT 2024
philnik777 wrote:
Personally I don't think we want to guarantee this. I'm also not sure whether this would break other code in the wild that uses e.g. `complex<int>` (not that that's any more sanctioned). FWIW I'd be more in favour of simply removing the `static_assert` again, since I've only added it because I thought that was a requirement before my change. But I wouldn't want to guarantee that we don't break users this way at a later point again.
https://github.com/llvm/llvm-project/pull/110235
More information about the libcxx-commits
mailing list