The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
27.84k
stars
11.47k
forks
source link
No ambiguity detected in the selection of overloaded constructors from std::initializer_list #53841
Open
Fedr opened 2 years ago
The following program:
according to this discussion https://stackoverflow.com/a/71096721/7325599 must be rejected due to ambiguity, but Clang accepts it now. Demo: https://gcc.godbolt.org/z/joz91q4ed