template specialisation
Valentin Bonnard
bonnardv@pratique.fr
Mon Nov 9 13:23:00 GMT 1998
D Maley <d.maley@airforce1.stmarys-belfast.ac.uk> wrote:
> I would like to write a specialisation
>
> template <class T> Manager<pair<typename T::first_type, typename
> T::second_type> > { /* .. */ };
This isn't valid (and I am not sure to understand what it
would mean). What about the easy, natural and working:
template <typename First, typename Second>
class Manager<std::pair<First, Second> > { };
--
Valentin Bonnard mailto:bonnardv@pratique.fr
info about C++/a propos du C++: http://pages.pratique.fr/~bonnardv/
More information about the Gcc-bugs
mailing list