[技术| 编程·课件·Linux] [电子书]Modern C++ design

20082663 · 发布于 2012-07-06 10:08 · 1332 次阅读
25
本帖最后由 20082663 于 2012-7-6 11:13 编辑

英文版:http://ishare.iask.sina.com.cn/f/14256219.html
中文版:http://ishare.iask.sina.com.cn/f/10790891.html?from=isnom

这本书不用多介绍了吧,很出名的书籍。著名的loki模版库就是作者根据这本书的思想开发出来的。
loki最新版下载:http://loki-lib.sourceforge.net/index.php?n=Main.Download
内容简介  · · · · · ·          本书从根本上展示了generic patterns(泛型模式)或pattern templates(模式模板),并将它们视之为“在C++中创造可扩充设计”的一种功能强大的新方法。这种方法结合了template和patterns,你可能未曾想过,但的确存在。为C++打开了全新视野,而且不仅仅在编程方面,还在于软件设计本身;对软件分析和软件体系结构来说,它也具有丰富的内涵。

作者简介  · · · · · ·          Andrei Alexandrescu 世界顶尖的C++专家,C++ Users Journal杂志的专栏作家,他的Modern C++ Design一书曾荣获2001年最佳C++图书称号,所开发的Loki已经成为最负盛名的C++程序库之一。

        目录         ······    第一篇 技术(techniques)        1
第1章        基于policy的class设计(policy-based class design)        3
        1.1        软件设计的多样性(multiplicity)         3
        1.2        全功能型(do-it-all)接口的失败         4
        1.3        多重继承(multiple inheritance)是救世主?        5
        1.4        templates带来曙光         6
        1.5        policies和policy classes         7
        1.6        更丰富的policies         12
        1.7        policy classes的析构函数(destructors)         12
        1.8        通过不完全具现化(incomplete instantiation)而获得的选择性机能(optional functionality)         13
        1.9        结合policy classes        14
        .        1.10        以policy classes定制结构        16
        1.11        policies的兼容性         17
        1.12        将一个class分解为一堆policies         19
        1.13        摘要         20
第2章        技术(techniques)         23
        2.1        编译期(compile-time)assertions        23
        2.2        partial template specialization(模板偏特化)        26
        2.3        局部类(local classes)         28
        2.4        常整数映射为型别(mapping integral constants to types)        29
        2.5        型别对型别的映射(type-to-type mapping)        31
        2.6        型别选择(type selection)         33
        2.7        编译期间侦测可转换性(convertibility)和继承性(inheritance)        34
        2.8        type_info的一个外覆类(wrapper)        37
        2.9        nulltype和emptytype         39
        2.10        type traits         40
        2.11        摘要         46
第3章        typelists         49
        3.1        typelists的必要性 49
        3.2        定义typelists         51
        3.3        将typelist的生成线性化(linearizing)        52
共收到 0 条回复
暂无回复。
回帖
B Color Image Link Quote Code Smilies
Command + Enter
快速回复 返回顶部 返回列表