This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
C++, 2.95: Maybe bug with nested template specialization (variant)
- To: gcc-bugs at gcc dot gnu dot org
- Subject: C++, 2.95: Maybe bug with nested template specialization (variant)
- From: Wolfgang Bangerth <wolf at gaia dot iwr dot uni-heidelberg dot de>
- Date: Thu, 12 Aug 1999 20:02:18 +0200 (MET DST)
// this is something for which I have no clue what the compiler
// explains about:
// test06.cc:15: explicit specialization in non-namespace scope `X<Y>'
// test06.cc:15: enclosing class templates are not explicitly specialized
// test06.cc:15: template parameters not used in partial specialization:
// test06.cc:15: `Y'
// configuration:
// gcc 2.95, sparc-sun-solaris2.6
//
// regards,
// Wolfgang
template <class Y> class X
{
template <int N> class T {};
template <> class T<1> { int i1; };
};
-------------------------------------------------------------------------
Wolfgang Bangerth email: wolfgang.bangerth@iwr.uni-heidelberg.de
www: http://gaia.iwr.uni-heidelberg.de/~wolf