Summary: | [C++0x] error referencing a more specialized variadic template from primary | ||
---|---|---|---|
Product: | gcc | Reporter: | Martin Sebor <msebor> |
Component: | c++ | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andreas.milton.m, fang, gcc-bugs, jason, tiago |
Priority: | P3 | ||
Version: | 4.5.0 | ||
Target Milestone: | 4.7.0 | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | ||
Bug Depends on: | 35722 | ||
Bug Blocks: |
Description
Martin Sebor
2009-04-05 17:11:16 UTC
I'd write that as template <class... Types> struct S; template <class T, class ...Types> struct S<T, Types...> { typedef typename S<Types...>::type type; }; template <class T> struct S<T> { typedef T type; }; *** Bug 46061 has been marked as a duplicate of this bug. *** |