#include <iostream>
#include <string>
using namespace std;
struct CandyBar
{
char * Name;
double Weight;
int cal;
};
template <> void Fill(CandyBar & c1,CandyBar & c2);
int main()
{
return 0;
}
template <> void Fill(CandyBar & c1,CandyBar & c2)
{
}
代码如上,错误提示是“不是函数模板的专用化”,弄不懂,特来求解答!