网上购物 货比三家
您现在的位置:快乐比价网 > 图书 > 计算机与网络 > 程序设计 > 商品详情

More Effective C++(英文版)

分享到:
More Effective C++(英文版)

最 低 价:¥17.60

定 价:¥39.00

作 者:迈耶斯

出 版 社:机械工业出版社

出版时间:2006-04-01

I S B N:9787111188308

价格
17.60元
价格
29.30元
价格
30.80元
价格
32.70元

商品详情

编辑推荐

  

内容简介

  一些经过验证的用来改善程序效率的方法,包括检验C++语言特性所带来的时间和空间上的成本。
  全面地描述了C++专家所使用的高级技术,包括placement new、virtual constructors、smart pointers、reference counting、proxy classes和double-dispatching等。
  以实例说明异常处理带给C++类和函数的冲击。
  介绍新的语言特性,包括bool、mutable、explicit、namespaces、成员模板、标准模板库等。如果你的编译器不支持这些特性,本书还介绍了如何不利用它们完成工作。

作者简介

  Scott Meyers拥有布朗大学计算机科学博士学位,是世界上最著名的C++软件涵盖发权威之一。他的“More Effective C++两卷本”(《Effective C++》和《 More Effective C++》),开辟了技术图书写作的新风格。他曾担任《C++Report》杂志的专栏作家,经常为《C++ Users Journal》和《Dr.Dobbs Journal》撰稿。

目录

Acknowledgments
Introduction
Basics
Item1:Distinguish between pointers and references.
Item2:Prefer C++-style casts.
Item3:Never treat arrays polymorphically.
Item4:Avoid gratuitous default constructors.
Operators
Item5:Be wary of user-defined conversion functions.
Item6:Distinguish between prefix and postfix forms of increment and decrement oferators.
Item7:Never overload &&,︴︴,or,.
Item8:Understand the different meanings of new and delete.
Exceptions
Item9:Use destructors to Prevent resource leaks.
Item10:Prevent resource leaks in comstructors.
Item11:Prevent exceptions from leaving destructors.
Item12:Understand how throwing an exception differs from passing a parameter or calling a virtual function.
Item13:Catch exception by reference.
Item14:Use exception specifications judiciously
Item15:Understand the costs of exception handling
Efficiency
Item16:Remember the 80-20 rule.
Item17:Consider using lazy evaluation.
Item18:Amortize the cost of expected computations.
Item19:Understand the origih of temporary objects.
Item20:Facilitate the return value optimization.
Item21:Overload to avoid implicit type conversions.
Item22:Consider using op=instead of stand-alone op.
Item23:Consider alternative libraries.
Item24:Understand the costs of virtual functions,multiple inheritance,virtual base classes,and RTTl
……

商品评论(0条)

暂无评论!

您的浏览历史

loading 内容加载中,请稍后...