]> gcc.gnu.org Git - gcc.git/commit
re PR c++/40155 ([c++0x] variadic template pack problem)
authorDodji Seketeli <dodji@redhat.com>
Thu, 7 Jan 2010 19:21:46 +0000 (19:21 +0000)
committerDodji Seketeli <dodji@gcc.gnu.org>
Thu, 7 Jan 2010 19:21:46 +0000 (20:21 +0100)
commitc8f4e43a8c80cc3262b91d969a5420da62dae306
treec6ba028fdb64ff90cbb07c7f3741fe2f070b3bfb
parentf52ac76fa9e3b61eae00ee131d4a1215e641b2e1
re PR c++/40155 ([c++0x] variadic template pack problem)

Fix PR c++/40155

gcc/cp/ChangeLog:
c++/40155
* pt.c (unify_pack_expansion): In non-deduced contexts, re-use template
arguments that were previously deduced.

gcc/testsuite/ChangeLog:
c++/40155
* g++.dg/cpp0x/variadic-unify-2.C: New test.

From-SVN: r155705
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/variadic-unify-2.C [new file with mode: 0644]
This page took 0.061388 seconds and 5 git commands to generate.