[Bug c++/15359] errors specializing a template class of a template class
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Tue May 11 16:38:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-05-10 18:11 -------
If you want to specialize a class, you shouldn't omit the 'class'
keyword. The way specializations work is this:
---------
template <typename E>
struct F {
template<typename G> class H;
};
template <>
template<typename E>
class F<int>::H<E> {};
-----------
Your original code is still invalid, not because gcc doesn't like it
but because the standard says so.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15359
More information about the Gcc-bugs
mailing list