This is the mail archive of the
mailing list for the GCC project.
Re: [RFH / Patch] PR 51222
On 04/29/2012 11:42 AM, Paolo Carlini wrote:
This might just be a matter of calling for_each_template_parm and
returning 1 if we see any template parameter.
Good. Today I quickly tried something along these lines (see 'p'
attachment) and got some fails:
Ah, well. I guess for_each_template_parm doesn't look at the types of
Otherwise, I'm attaching something very close to the letter of the ABI,
Your patch only looks at immediate subexpressions; I believe what the
ABI means is any subexpression, which is why I think something involving
walk_tree might be the way to go.