会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
云端小飞象cg
致力于图像图形的研究,并为之奋斗一辈子。 眼过千遍,不如手过一遍。
首页
新随笔
联系
管理
2011年4月26日
C++ Templates:技巧性基础知识(来自《C++ template》)
摘要: 关键字typename:引入关键字typename是为了说明:模板内部的标识符可以是一个类型: 1: template <typename T> 2: class Myclass { 3: typename T::SubType *ptr; 4: }.template构造: 1: void printBitset (std::bitset<N> const& bs) { 2: std::cout<...
阅读全文
posted @ 2011-04-26 16:50 云端小飞象cg
阅读(714)
评论(0)
推荐(0)
编辑
公告