Possible Duplicate:
template<> in c++
I have seen template<> in c++ code.
Is this valid syntax? If it is, what does it mean?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s used whenever you explicitly specialize a template (class or function template) or a member of a class template. The first set of examples use this class template and members:
Specializing and defining members
Example with specializing a non-member class template