Fix constraint satisfaction in uninstantiated template.
authorJason Merrill <jason@redhat.com>
Tue, 21 Jun 2016 18:19:13 +0000 (14:19 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 21 Jun 2016 18:19:13 +0000 (14:19 -0400)
commit2befd3f722b21e47f238c61400955eb9e65ce782
treeb2ca415533cd375bcd773bd499901ff83b30da51
parente547455bd62b59821c4ab9e900d7d0ff14fd69c8
Fix constraint satisfaction in uninstantiated template.

* constraint.cc (constraints_satisfied_p): Keep as many levels of
args as our template has levels of parms.

From-SVN: r237655
gcc/cp/ChangeLog
gcc/cp/constraint.cc
gcc/testsuite/g++.dg/concepts/memtmpl1.C [new file with mode: 0644]