[Bug c++/35722] [C++0x] Variadic templates expansion into non-variadic class template

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 6 19:47:00 GMT 2009



------- Comment #1 from jason at gcc dot gnu dot org  2009-01-06 19:47 -------
This was ill-formed under the proposal that was initially adopted, but was made
well-formed in the March 2008 working paper when the following wording was
struck from the end of 14.3:

A template-argument pack expansion shall not occur in a simple-template-id
whose template-name refers to a class template unless the
template-parameter-list of that class template declares a template parameter
pack.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35722



More information about the Gcc-bugs mailing list