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

2009-08-12 Thread jack dot q dot word at gmail dot com
--- Comment #11 from jack dot q dot word at gmail dot com 2009-08-13 05:14 --- (From update of attachment 18348) template< class cT, class... vT > struct VarTypeNav { typedef cT T; typedef VarTypeNav< vT..., void > Next; struct scT { cT v; };

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

2009-08-12 Thread jack dot q dot word at gmail dot com
--- Comment #10 from jack dot q dot word at gmail dot com 2009-08-13 05:05 --- > 'byte Data[VarTypeNav< cT, vT...>::Size];' ... or 'char Data[VarTypeNav< cT, vT...>::Size];' ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35722

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

2009-08-12 Thread jack dot q dot word at gmail dot com
--- Comment #9 from jack dot q dot word at gmail dot com 2009-08-13 05:04 --- (In reply to comment #8) > Created an attachment (id=18348) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18348&action=view) [edit] > tuple & union examples with possibly proper var

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

2009-08-12 Thread jack dot q dot word at gmail dot com
--- Comment #8 from jack dot q dot word at gmail dot com 2009-08-13 05:01 --- Created an attachment (id=18348) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18348&action=view) tuple & union examples with possibly proper variadic return type case relying on variad