[libcxx-commits] [libcxx] [libc++] Constrain additional overloads of `pow` for `complex` harder (PR #110235)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 15 06:40:23 PDT 2024


https://github.com/ldionne commented:

I am really ambivalent about this change. On the one hand it's a small change and it avoids an immediate breakage in the wild. On the other hand, it also seems to promise something that I'm not certain we want to (or will be able to) promise in the future, i.e. that libc++ `std::complex` works with non standard floating point types.

@philnik777 I'd like to have your opinion on this.

https://github.com/llvm/llvm-project/pull/110235


More information about the libcxx-commits mailing list