[all-commits] [llvm/llvm-project] 0f8dbb: [libc++] Constrain additional overloads of `pow` f...
A. Jiang via All-commits
all-commits at lists.llvm.org
Tue Oct 29 16:17:02 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0f8dbb2fac532e37a9859d52982f0e8994305a11
https://github.com/llvm/llvm-project/commit/0f8dbb2fac532e37a9859d52982f0e8994305a11
Author: A. Jiang <de34 at live.cn>
Date: 2024-10-30 (Wed, 30 Oct 2024)
Changed paths:
M libcxx/include/complex
A libcxx/test/libcxx/numerics/complex.number/cmplx.over.pow.pass.cpp
Log Message:
-----------
[libc++] Constrain additional overloads of `pow` for `complex` harder (#110235)
Fixes #109858.
The changes in #81379 broke some 3rd party library code that expected
usability of `std::complex<NonFloatingPoint>`. Although such code isn't
portable per [complex.numbers.general]/2, it might be better to make
these additional overloads not to interfere overload resolution too
much.
---------
Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list