[Bug c++/61663] [DR 976] Deduction for const T& conversion functions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61663 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:80f075b410125bddb31459428760645baba1a69f commit r14-1689-g80f075b410125bddb31459428760645baba1a69f Author: Nathan Sidwell Date: Sat Jun 10 12:42:17 2023 -0400 c++: Adjust conversion deduction [PR61663][DR976] Drop the return type's reference before doing cvqual and related decays. gcc/cp/ PR c++/61663 * pt.cc (maybe_adjust_types_for_deduction): Implement DR976. gcc/testsuite/ * g++.dg/template/pr61663.C: New.
[Bug c++/61663] [DR 976] Deduction for const T& conversion functions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61663 Andrew Pinski changed: What|Removed |Added CC||alvinhochun at gmail dot com --- Comment #4 from Andrew Pinski --- *** Bug 107771 has been marked as a duplicate of this bug. ***
[Bug c++/61663] [DR 976] Deduction for const T& conversion functions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61663 Andrew Pinski changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #3 from Andrew Pinski --- *** Bug 63217 has been marked as a duplicate of this bug. ***
[Bug c++/61663] [DR 976] Deduction for const T& conversion functions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61663 Nick Krempel changed: What|Removed |Added CC||ndkrempel at gmail dot com --- Comment #2 from Nick Krempel --- Clang accepts the code since at least as far back as 3.0.0.
[Bug c++/61663] [DR 976] Deduction for const T conversion functions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61663 Ville Voutilainen ville.voutilainen at gmail dot com changed: What|Removed |Added Keywords||rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed||2014-12-14 CC||ville.voutilainen at gmail dot com Ever confirmed|0 |1 Known to fail||4.8.2, 4.9.1, 5.0 --- Comment #1 from Ville Voutilainen ville.voutilainen at gmail dot com --- Clang also rejects the code.