64,960
社区成员
发帖
与我相关
我的任务
分享
#include <deque> // use as vector
#include <iostream> // standard header
using namespace std;
template <typename T>
class CStack
{
public:
template <typename T2>
void print(void)
{
cout << "abc" << endl;
}
};
int main(void)
{
CStack <int> stack;
stack.template print <int> ();
return 0;
}