点此搜书

当前位置:Exceptional C++ Stylepdf电子书下载 > 工业技术
Exceptional C++ Style
  • 作 者:(美)Herb Sutter著
  • 出 版 社:北京:机械工业出版社
  • 出版年份:2006
  • ISBN:711118484X
  • 标注页数:325 页
  • PDF页数:344 页
  • 请阅读订购服务说明与试读!

文档类型

价格(积分)

购买连接

试读

PDF格式

11

立即购买

点击试读

订购服务说明

1、本站所有的书默认都是PDF格式,该格式图书只能阅读和打印,不能再次编辑。

2、除分上下册或者多册的情况下,一般PDF页数一定要大于标注页数才建议下单购买。【本资源344 ≥325页】

图书下载及付费说明

1、所有的电子图书为PDF格式,支持电脑、手机、平板等各类电子设备阅读;可以任意拷贝文件到不同的阅读设备里进行阅读。

2、电子图书在提交订单后一般半小时内处理完成,最晚48小时内处理完成。(非工作日购买会延迟)

3、所有的电子图书都是原书直接扫描方式制作而成。

Generic Programming and the C++ Standard Library 1

1. Uses and Abuses of vector 10

2. The String Formatters of Manor Farm, Part 1: sprintf 10

3. The String Formatters of Manor Farm, Part 2: Standard (or Blindingly Elegant) Alternatives 16

4. Standard Library Member Functions 27

5. Flavors of Genericity, Part 1: Covering the Basis [sic] 31

6. Flavors of Genericity, Part 2: Generic Enough? 35

7. Why Not Specialize Function Templates? 42

8. Befriending Templates 49

9. Export Restrictions, Part 1: Fundamentals 59

10. Export Restrictions, Part 2: Interactions, Usability Issues, and Guidelines 68

Exception Safety Issues and Techniques 79

11. Try and Catch Me 80

12. Exception Safety: Is It Worth It? 85

13. A Pragmatic Look at Exception Specifications 89

Class Design, Inheritance, and Polymorphism 99

14. Order, Order! 100

15. Uses and Abuses of Access Rights 104

16. (Mostly) Private 110

17. Encapsulation 119

18. Virtuality 129

19. Enforcing Rules for Derived Classes 139

Memory and Resource Management 151

20. Containers in Memory, Part 1: Levels of Memory Management 152

21. Containers in Memory, Part 2: How Big Is It Really? 156

22. To new, Perchance to throw, Part 1: The Many Faces of new 164

23. To new, Perchance to throw, Part 2: Pragmatic Issues in Memory Management 173

Optimization and Efficiency 183

24. Constant Optimization? 184

25. inline Redux 190

26. Data Formats and Efficiency, Part 1: When Compression Is the Name of the Game 199

27. Data Formats and Efficiency, Part 2: (Even Less) Bit-Twiddling 204

Traps, Pitfalls, and Puzzlers 213

28. Keywords That Aren't (or, Comments by Another Name) 214

29. Is It Initalizafion? 221

30. double or Nothing 227

31. Amok Code 230

32. Slight Typos? Graphic Language and Other Curiosities 235

33. Operators, Operators Everywhere 239

Style Case Studies 245

34. Index Tables 246

35. Generic Callbacks 258

36. Construction Unions 267

37. Monoliths "Unstrung," Part 1: A Look at std::string 286

38. Monoliths "Unstrung," Part 2: Refactoring std::string 292

39. Monoliths "Unstrung," Part 3: std::string Diminishing 301

40. Monoliths "Unstrung," Part 4: std::string Redux 305

Bibliography 315

Index 319

购买PDF格式(11分)
返回顶部