Topic: Specialization of a member class template
Author: Tobias Neubert <Tobias.Neubert@Informatik.TU-Chemnitz.DE>
Date: 1997/11/28 Raw View
What is the correct systax for specializing a member class template
which is a member of a template class?
Example:
template <class X>
class TemplateClass
{
template <class Y>
class MemberClassTemplate
{
Y m_y;
...
};
};
I would like to specialize the inner class MemberClassTemplate, say for
type int.
Whatever I tried my compiler found an other excuse why not to do the
job.
Thanks in advance.
Tobias Neubert
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]