[clang] [clang] Fix unresolved overloaded conversion function reference (PR #230806)
Younan Zhang via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 11 00:24:31 PDT 2026
https://github.com/zyn0217 requested changes to this pull request.
I'm confused about the wording from [over.over]p5. The first sentence mentions associated constraints so I'm not sure if only those constrained functions with should apply:
> All functions with associated constraints that are not satisfied are eliminated from the set of selected functions. If more than one function in the set remains, all function template specializations in the set are eliminated if the set also contains a function that is not a function template specialization.
https://godbolt.org/z/G33TKdvb3
Only MSVC accepts it, if taking address of non conversion functions.
@cor3ntin @erichkeane
https://github.com/llvm/llvm-project/pull/230806
More information about the cfe-commits
mailing list