摘要: CArray是个模板类,其中成员变量、函数可用到模板形参表中的任一类型 template<class FirstType, class SecondType> class CArray { public: FirType elem1; SecType elem2; }; 则声明CArray<int, 阅读全文
posted @ 2022-03-14 09:47 伊红美兰 阅读(123) 评论(0) 推荐(0) 编辑