[Bug c++/104230] Non-type template arguments of reference and pointer type fail when initialized by pointer to member operator

2022-05-22 Thread anton at socialhacker dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104230 --- Comment #3 from anton at socialhacker dot com --- I've found the relevant discussion about the correct way to mangle subobject references in template parameters here: https://github.com/itanium-cxx-abi/cxx-abi/issues/47 It looks like Clang

[Bug c++/104230] Non-type template arguments of reference and pointer type fail when initialized by pointer to member operator

2022-01-31 Thread anton at socialhacker dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104230 --- Comment #2 from anton at socialhacker dot com --- Hmm, sorry, still learning the bugzilla UI. I thought that patch would be attached to my next comment. I don't believe that patch is a solution to the problem. It was just a way I was able

[Bug c++/104230] Non-type template arguments of reference and pointer type fail when initialized by pointer to member operator

2022-01-31 Thread anton at socialhacker dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104230 --- Comment #1 from anton at socialhacker dot com --- Created attachment 52321 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52321=edit Patch to get member references via pointers accepted as template arguments

[Bug c++/104230] New: Non-type template arguments of reference and pointer type fail when initialized by pointer to member operator

2022-01-25 Thread anton at socialhacker dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104230 Bug ID: 104230 Summary: Non-type template arguments of reference and pointer type fail when initialized by pointer to member operator Product: gcc Version: 12.0