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
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
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&action=edit
Patch to get member references via pointers accepted as template arguments
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