Jason Merrill <ja...@redhat.com> writes:

> Hmm...what if rather than trying to ignore levels when comparing, we
> make it so the sibling list always has level 1?

I am not sure to understand how you'd do that.  You mean that instead of
pointing to the actual vector of innermost template parms,
TEMPLATE_PARM_SIBLINGS would instead point to a vector that is a copy of
the innermost template parms into which we'd have substituted and index
of level 1 for the index of each parm?

> BTW, let's avoid calling a function named *_real directly from client
> code.

Ah, oops sorry. I thought it would be OK as cp-tree.h already has a few
spots of public entry points "overloaded" using that _real suffix.  What
suffix would be best?

-- 
                Dodji

Reply via email to