[Bug c++/48320] [C++0x][4.6/4.7 Regression] Template parameter packs cannot be expanded in default template arguments
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 6 22:54:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48320
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-09-06
CC| |dodji at gcc dot gnu.org
Component|regression |c++
Ever Confirmed|0 |1
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-06 22:52:49 UTC ---
This is a problem with fixup_template_parms; when we substitute into the
default template argument for Result, we've wrapped Indices in an
EXPR_PACK_EXPANSION, so it doesn't work as used in the default argument.
More information about the Gcc-bugs
mailing list