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 already has this implemented. but I'm not sure which version of the compiler has the referenced commits.