2013年1月3日

Effective of C++---改变旧有的C习惯 2013-01-03 13:20 174人阅读 评论(0) 收藏

摘要: case 1: using const and inline instead of #definereason :when complier complain a error for "1.653", we may not realize it is a Macro.1.how to define ... 阅读全文

posted @ 2013-01-03 13:20 Joyfulmath 阅读(95) 评论(0) 推荐(0) 编辑

站在对象模型的顶端 分类: 深度探索C++对象模型 2013-01-03 10:13 138人阅读 评论(0) 收藏

摘要: 7.1 TemplateTemplate 的具现行为 a.定义指针,不会具现b.定义reference会具现c.函数在使用的时候会被具现Template 的错误信息有些于类型相关的错误和判断将会在具体实现的时候被发现。a.赋值b.比较Template 名称的决议方式: 这意味着一个编译器必须保持两个... 阅读全文

posted @ 2013-01-03 10:13 Joyfulmath 阅读(103) 评论(0) 推荐(0) 编辑

导航