]> gcc.gnu.org Git - gcc.git/commit
Check that a partial specialization is more specialized.
authorJason Merrill <jason@redhat.com>
Wed, 21 Dec 2016 19:38:35 +0000 (14:38 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 21 Dec 2016 19:38:35 +0000 (14:38 -0500)
commita9410b4fe946b3f82ff2254b46ef53573897d68e
treefcffa3b5c7642405863b779e6991c5dfc2a1ff09
parenta93634ba09c4b33d95233e48d9c452a529555d05
Check that a partial specialization is more specialized.

* pt.c (process_partial_specialization): Use
get_partial_spec_bindings to check that the partial specialization
is more specialized than the primary template.

From-SVN: r243868
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/constexpr-data2.C
gcc/testsuite/g++.dg/cpp0x/variadic82.C
gcc/testsuite/g++.dg/cpp0x/variadic83.C
gcc/testsuite/g++.dg/template/partial5.C
This page took 0.401386 seconds and 5 git commands to generate.