[Bug c++/35989] code rejected in template specialization (4.2 did accept)
------- Comment #3 from da_cra_hunt at yahoo dot com 2009-07-23 17:34 -------
Simple case :
template<typename C> struct A {};
template<typename C> struct B { struct Inner {}; };
template<typename K>
struct A<typename B<K>::Inner> {};
4.1.2/VS2005 compile quietly. 4.3.2 (g++ -c test.cpp) gives :
kk.cpp:5: error: template parameters not used in partial specialization:
kk.cpp:5: error: ?K?
--
da_cra_hunt at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |da_cra_hunt at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35989
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Reply to: