>> I am not sure if all explicit specializations must start
>> with "template <>" though. An explicit specialization can
>> also be a partial specialization, I guess.
> Pedantically, no, a partial specialisation is never an
> explicit specialisation. They are different (though closely
> related) things. So an explicit specialisation will always
> start "template <>" and a partial specialisation will always
> start "template </* arguments */>". In retrospect, it might
> have been better if explicit specialisations were called
> complete specialisations as this much better describes how
> they are related to partial specialisations.
specialisations were devised. Remember, a template instantiation
is a specialisation - but not an explicit specialisation.
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]