Commit 42591d2
committed
private: charconv: Don't define from_chars for libc++ 20 or later
LLVM libc++ starts to provide a float-point-capable std::from_chars()
since LLVM 20 release. Unconditionally defining from_chars() when
using Clang will cause ambiguous references and fails the build.
Link: llvm/llvm-project#91651 # [1]
Signed-off-by: Yao Zi <[email protected]>1 parent 62f25cf commit 42591d2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments