Topic: in class partial specialisation of member templates?


Author: thimm@rige.physik.fu-berlin.de (Axel Thimm)
Date: 1998/06/15
Raw View
Hello,
I am trying to use partial specialisation of meber templates *inside* the
class. Outside I can use something like

template< template args for template class X >
template<>
X<...>::member_template<int,float, etc.> {};

but if I try to embed it within the class, I get errors about not using some
template args of the outside class for the specialisation.

What does the standard impose for specialising member templates inside the
holder class?
On the other hand it may be the compiler I am using, which does not yet
support this (eg++).

Thanks, Axel.
--
Axel Thimm   Axel.Thimm@physik.fu-berlin.de Axel.Thimm@ifh.de



[ 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    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]