Jason Merrill ja...@redhat.com writes:
Let's move the alias template case from
primary_template_instantiation_p into alias_template_specialization_p
and call the latter from the former. And also call it from tsubst.
Like the below?
Note that I have changed the type of the argument of
OK.
Jason
Let's move the alias template case from primary_template_instantiation_p
into alias_template_specialization_p and call the latter from the
former. And also call it from tsubst.
Jason
Hello,
In the example of this problem report, during the substituting of int
into 'function', tsubst_aggr_type fails for the alias ctxt1. This is
because TYPE_TEMPLATE_INFO looks for the TEMPLATE_INFO of the ctxt1
alias at the wrong place and was wrongly finding it to be NULL.
Namely, it was