[Bug c++/111803] Template deduction failure for baseclass member pointer with template data type

2023-10-13 Thread grbrown93 at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111803 --- Comment #3 from grbrown --- (In reply to grbrown from comment #2) > From my tests though, removing the 'template' will allow it to > work, so I don't know if you're explanation is entirely correct. I.e. replace template void print(DataType

[Bug c++/111803] Template deduction failure for baseclass member pointer with template data type

2023-10-13 Thread grbrown93 at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111803 --- Comment #2 from grbrown --- (In reply to Andrew Pinski from comment #1) > Note clang also rejects this code for the same reason as GCC. > > Here is a reduced version which shows the difference between ICC/MSVC and > GCC/clang: > ``` > struc

[Bug c++/111803] New: Template deduction failure for baseclass member pointer with template data type

2023-10-13 Thread grbrown93 at sbcglobal dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111803 Bug ID: 111803 Summary: Template deduction failure for baseclass member pointer with template data type Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severi