Hi there, Attached is a tentative patch to support using decltype as a base-type-specifier (Re: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42603).
It should handle also the case where decltype is used as the start of a nested-name-specifier when this is supported in the future. Any feedback welcome -- I have done only basic testing -- it appears to work okay for what I want (so far at least). Regards, Adam PS. I already have sorted copyright assignment a while ago so you can go ahead and apply this at your convenience if it is any good (subject to review of course).
0001-C-0x-Support-decltype-as-base-specifier.patch
Description: Binary data