From http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1584, function type should not match cv-qualified type in template argument deduction. This also matches what GCC and EDG do in template argument deduction.
Details
Details
- Reviewers
rjmccall vsapsai - Commits
- rG413f3c559555: [Sema] Do not match function type with const T in template argument deduction
rC331424: [Sema] Do not match function type with const T in template argument deduction
rL331424: [Sema] Do not match function type with const T in template argument deduction
Diff Detail
Diff Detail
- Repository
- rC Clang