模板中的嵌套類

#include "stdafx.h" #include <iostream> #include <string> using namespace std; template<class T> class X{ //without typename , you should get an error: typename T::id i; //T::id i; public
相關文章
相關標籤/搜索