#pragma once
class test
{
public:
template <class T> void TestStr(T tt);
};
#include "StdAfx.h"
#include "test.h"
template <class T>
void test::TestStr(T tt)
{
int ii=tt;
}
时间: 2024-10-10 20:41:42
#pragma once
class test
{
public:
template <class T> void TestStr(T tt);
};
#include "StdAfx.h"
#include "test.h"
template <class T>
void test::TestStr(T tt)
{
int ii=tt;
}