C ++ template specialization full / partial specializations

1. C ++ template

Everyone on the template programming in C ++ should be able to use a very skilled, but the following is a very simple example of the

//模板函数
template<typename T, class N> void func(T num1, N num2)
{
    cout << "num1:" << num1 << ", num2:" 

Guess you like

Origin blog.csdn.net/jacky128256/article/details/100737010