http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56679
Bug #: 56679 Summary: [C++11] Cannot take sizeof... a template template parameter pack Classification: Unclassified Product: gcc Version: 4.6.4 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: r...@gcc.gnu.org All versions from 4.4 to trunk reject this: template <template <typename> class... Args> struct Foo { static const int value = sizeof...(Args); }; template <typename> struct Bar { }; const int test = Foo<Bar>::value; v.cc:3:44: error: missing template arguments before ')' token static const int value = sizeof...(Args); ^ Clang and ICC compile it ok.