This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The problem here is that deduction of F tries to substitute into the type of F, but we haven't deduced R or A yet, so we can't do anything. tsubst_pack_expansion knows how to handle this, but only expects to see it within a template. In general, substitution in the middle of deduction needs to be treated as happening in template context. Tested x86_64-pc-linux-gnu, applying to trunk.
Attachment:
82331.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |