This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13088] templatizing outer class hides specialization of inner template class
- From: "lerdsuwa at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2004 16:29:28 -0000
- Subject: [Bug c++/13088] templatizing outer class hides specialization of inner template class
- References: <20031117182653.13088.cppljevans@cox-internet.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-07-19 16:29 -------
The testcase nested_deduction.cpp works now.
However the code in comment #4 still doesn't work
due to a flaw in template argument deduction.
We are deducing 'U' and 'T' together at the same time in
template <typename U>
template <typename T>
struct X<U>::Local<typename S<U>::template Type<T> >
rather than first substituting 'U' with 'int' and then
deducing 'T'.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13088