
I discovered a workaround to this problem. It is a bit annoying in use, but does work: template<template <typename...> class T, typename... Args> struct TypeJoin { typedef T<Args...> type; }; template<typename T1=int,typename T2=int, typename T3=int> struct my_tuple {}; template<typename… T> struct X { // my_tuple<T…> tt; <- This won't compile. typename Join<my_tuple, T…>::type t; }; On 15 Aug 2011, at 20:31, Joel falcou wrote:
On 15/08/11 21:26, Jeffrey Lee Hellrung, Jr. wrote:
Sorry for the ignorance, but it isn't as simple as boost::mpl::vector< T...
You can not pass a template argument pack to a old fashioned enuemrated list of template parameters.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost