This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35722] [C++0x] Variadic templates expansion into non-variadic class template
- From: "chris at bubblescope dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2010 09:11:56 -0000
- Subject: [Bug c++/35722] [C++0x] Variadic templates expansion into non-variadic class template
- References: <bug-35722-6353@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from chris at bubblescope dot net 2010-01-22 09:11 -------
Just for anyone who comes to this bug, it can be worked around by doing
something like:
template<template <typename...> T, typename... Args>
struct Join
{ typedef T<Args...> type; }
Although of course that isn't a fix (and unfortunately a fix is beyond me).
--
chris at bubblescope dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chris at bubblescope dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35722