• Effective Modern C++:改善C++11和C++14的42个具体做法(影印版 英文版)
  • Effective Modern C++:改善C++11和C++14的42个具体做法(影印版 英文版)
21年品牌 40万+商家 超1.5亿件商品

Effective Modern C++:改善C++11和C++14的42个具体做法(影印版 英文版)

25 4.0折 62 九品

仅1件

北京朝阳
认证卖家担保交易快速发货售后保障

作者Scott Meyers 著

出版社东南大学出版社

出版时间2015-09

版次1

装帧平装

货号

上书时间2024-06-30

刘丽书店

十二年老店
已实名 已认证 进店 收藏店铺

   商品详情   

品相描述:九品
图书标准信息
  • 作者 Scott Meyers 著
  • 出版社 东南大学出版社
  • 出版时间 2015-09
  • 版次 1
  • ISBN 9787564159115
  • 定价 62.00元
  • 装帧 平装
  • 开本 16开
  • 纸张 胶版纸
  • 页数 315页
  • 字数 411千字
  • 正文语种 英语
  • 原版书名 Effective Modem C ++
【内容简介】
  理解C++11和C++14可不只是熟悉它们引入的特性(例如,auto类型声明、移动语义、lambda表达式和并行计算支持)这么简单。挑战在于学习如何高效应用这些特性——让你的软件正确、有效、易于维护和可移植。这就是这本具有很强实践性的书籍的目的所在。
  《EffectiveModernC++:改善C++11和C++14的42个具体做法(影印版英文版)》描述了如何使用C++11和C++14编写真正伟大的软件——使用现代C++。
  《EffectiveModernC++:改善C++11和C++14的42个具体做法(影印版英文版)》遵循久经考验、基于规则和实例驱动的迈耶斯早期书籍的样式,但编写了全新的内容。对于每位现代C++软件的开发者而言,《EffectiveModernC++:改善C++11和C++14的42个具体做法(影印版英文版)》都是必读书籍。
【作者简介】
作者:(美国)迈耶斯(Scott Meyers)    迈耶斯(Scott Meyers),二十多年来,Scott Meyers的Effective C++系列书籍(包括《Effective C++》《More Effective C++》和《Effective STL》)为C++编程语言指导书籍设定了高标准。…
【目录】
FromthePublisher
Acknowledgments
Introduction

1.DeducingTypes
Item1:Understandtemplatetypededuction.
Item2:Understandautotypededuction.
Item3:Understanddecltype.
Item4:Knowhowtoviewdeducedtypes.

2.auto
Item5:Preferautotoexplicittypedeclarations.
Item6:Usetheexplicitlytypedinitializeridiomwhenautodeducesundesiredtypes.

3.MovingtoModernC++
Item7:Distinguishbetween()and{}whencreatingobjects.
Item8:Prefernullptrto0andNULL.
Item9:Preferaliasdeclarationstotypedefs.
Item10:Preferscopedenumstounscopedenuns.
Item11:Preferdeletedfunctionstoprivateundefinedones.
Item12:Declareoverridingfunctionsoverri.de.
Item13:Preferconst_iteratorstoiterators.
Item14:Declarefunctionsnoexceptiftheywon'temitexceptions.
Item15:Useconstexprwheneverpossible.
Item16:Makeconstmemberfunctionsthreadsafe.
Item17:Understandspecialmemberfunctiongeneration.

4.SmartPointers
Item18:Usestd::unique_ptrforexclusive-ownershipresourcemanagement.
Item19:Usestd::shared_ptrforshared-ownershipresourcemanagement.
Item20:Usestd::weak_ptrforstd::shared_ptr-likepointersthatcandangle.
Item21:Preferstd::make_uniqueandstd::make_sharedtodirectuseofnew.
Item22:WhenusingthePimplIdiom,definespecialmemberfunctionsintheimplementationfile.

5.RvalueReferences,MoveSemantics,andPerfectForwarding
Item23:Understandstd::moveandstd::forward.
Item24:Distinguishuniversalreferencesfromrvaluereferences.
Item25:Usestd::moveonrvaluereferences,std::forwardonuniversalreferences.
Item26:Avoidoverloadingonuniversalreferences.
Item27:Familiarizeyourselfwithalternativestooverloadingonuniversalreferences.
Item28:Understandreferencecollapsing.
Item29:Assumethatmoveoperationsarenotpresent,notcheap,andnotused.
Item30:Familiarizeyourselfwithperfectforwardingfailurecases.

6.LambdaExpressions
Item31:Avoiddefaultcapturemodes.
Item32:Useinitcapturetomoveobjectsintoclosures.
Item33:Usedecltypeonauto&¶meterstostd::forwardthem.
Item34:Preferlambdastostd::bind.

7.TheConcurrencyAPI
Item35:Prefertask-basedprogrammingtothread-based.
Item36:Specifystd::launch::asyncifasynchronicityisessential.
Item37:Makestd::threadsunjoinableonallpaths.
Item38:Beawareofvaryingthreadhandledestructorbehavior.
Item39:Considervoi_dfuturesforone-shoteventcommunication.
Item40:Usestd::atoni.cforconcurrency,volatileforspecialmemory.

8.Tweaks
Item41:Considerpassbyvalueforcopyableparametersthatarecheaptomoveandalwayscopied.
Item42:Consideremplacementinsteadofinsertion.

Index
点击展开 点击收起

   相关推荐   

—  没有更多了  —

以下为对购买帮助不大的评价

此功能需要访问孔网APP才能使用
暂时不用
打开孔网APP