点击选择搜索分类
首页 - 动漫学堂- 正文
☆☆☆☆☆
||
Scott Meyers 著
出版社: 东南大学出版社 ISBN:9787564159115 版次:1 商品编码:11789230 包装:平装 开本:16开 出版时间:2015-09-01 用纸:胶版纸 页数:315 字数:411000 正文语种:英文
《Effective Modern C++:改善C++11和C++14的42个具体做法(影印版 英文版)》描述了如何使用C++11和C++14编写真正伟大的软件——使用现代C++。
《Effective Modern C++:改善C++11和C++14的42个具体做法(影印版 英文版)》遵循久经考验、基于规则和实例驱动的迈耶斯早期书籍的样式,但编写了全新的内容。对于每位现代C++软件的开发者而言,《Effective Modern C++:改善C++11和C++14的42个具体做法(影印版 英文版)》都是必读书籍。
Acknowledgments
Introduction
1.Deducing Types
Item 1: Understand template type deduction.
Item 2: Understand auto type deduction.
Item 3: Understand decltype.
Item 4: Know how to view deduced types.
2.auto
Item 5: Prefer auto to explicit type declarations.
Item 6: Use the explicitly typed initializer idiom when auto deduces undesired types.
3.Moving to Modern C++
Item 7: Distinguish between ( ) and {} when creating objects.
Item 8: Prefer nullptr to 0 and NULL.
Item 9: Prefer alias declarations to typedefs.
Item 10: Prefer scoped enums to unscoped enuns.
Item 11: Prefer deleted functions to private undefined ones.
Item 12: Declare overriding functions overri.de.
Item 13: Prefer const_iterators to iterators.
Item 14: Declare functions noexcept ifthey won't emit exceptions.
Item 15: Use constexpr whenever possible.
Item 16: Make const member functions thread safe.
Item 17: Understand special member function generation.
4.Smart Pointers
Item 18: Use std: : unique_ptr for exclusive-ownership resource management.
Item 19: Use std: : shared_ptr for shared-ownership resource management.
Item 20: Use std : :weak_ptr for std : : shared_ptr-like pointers that can dangle.
Item 21: Prefer std : :make_unique and std : :make_shared to direct use of new.
Item 22: When using the Pimpl Idiom, define special member functions in the implementation file.
5.Rvalue References, Move Semantics, and Perfect Forwarding
Item 23: Understand std : : move and std : : forward.
Item 24: Distinguish universal references from rvalue references.
Item 25: Use std : : move on rvalue references, std : : forward on universal references.
Item 26: Avoid overloading on universal references.
Item 27: Familiarize yourself with alternatives to overloading on universal references.
Item 28: Understand reference collapsing.
Item 29: Assume that move operations are not present, not cheap, and not used.
Item 30: Familiarize yourself with perfect forwarding failure cases.
6.Lambda Expressions
Item 31: Avoid default capture modes.
Item 32: Use init capture to move objects into closures.
Item 33: Use decltype on auto&& parameters to std: :forward them.
Item 34: Prefer lambdas to std : : bind.
7.The Concurrency API
Item 35: Prefer task-based programming to thread-based.
Item 36: Specify std: :launch: :async ifasynchronicityis essential.
Item 37: Make std : : threads unjoinable on all paths.
Item 38: Be aware of varying thread handle destructor behavior.
Item 39: Consider voi_d futures for one-shot event communication.
Item 40: Use std : : atoni.c for concurrency, volatile for special memory.
8.Tweaks
Item 41: Consider pass by value for copyable parameters that are cheap to move and always copied.
Item 42: Consider emplacement instead of insertion.
Index
Effective Modern C++:改善C++11和C++14的42个具体做法(影印版 英文版) 电子书 下载 mobi epub pdf txt
Effective Modern C++:改善C++11和C++14的42个具体做法(影印版 英文版)-so88
Effective Modern C++:改善C++11和C++14的42个具体做法(影印版 英文版) pdf epub mobi txt 电子书 下载 2022
图书介绍
☆☆☆☆☆
||
Scott Meyers 著
出版社: 东南大学出版社 ISBN:9787564159115 版次:1 商品编码:11789230 包装:平装 开本:16开 出版时间:2015-09-01 用纸:胶版纸 页数:315 字数:411000 正文语种:英文
内容简介
理解C++11和C++14可不只是熟悉它们引入的特性(例如,auto类型声明、移动语义、lambda表达式和并行计算支持)这么简单。挑战在于学习如何高效应用这些特性——让你的软件正确、有效、易于维护和可移植。这就是这本具有很强实践性的书籍的目的所在。《Effective Modern C++:改善C++11和C++14的42个具体做法(影印版 英文版)》描述了如何使用C++11和C++14编写真正伟大的软件——使用现代C++。
《Effective Modern C++:改善C++11和C++14的42个具体做法(影印版 英文版)》遵循久经考验、基于规则和实例驱动的迈耶斯早期书籍的样式,但编写了全新的内容。对于每位现代C++软件的开发者而言,《Effective Modern C++:改善C++11和C++14的42个具体做法(影印版 英文版)》都是必读书籍。
目录
From the PublisherAcknowledgments
Introduction
1.Deducing Types
Item 1: Understand template type deduction.
Item 2: Understand auto type deduction.
Item 3: Understand decltype.
Item 4: Know how to view deduced types.
2.auto
Item 5: Prefer auto to explicit type declarations.
Item 6: Use the explicitly typed initializer idiom when auto deduces undesired types.
3.Moving to Modern C++
Item 7: Distinguish between ( ) and {} when creating objects.
Item 8: Prefer nullptr to 0 and NULL.
Item 9: Prefer alias declarations to typedefs.
Item 10: Prefer scoped enums to unscoped enuns.
Item 11: Prefer deleted functions to private undefined ones.
Item 12: Declare overriding functions overri.de.
Item 13: Prefer const_iterators to iterators.
Item 14: Declare functions noexcept ifthey won't emit exceptions.
Item 15: Use constexpr whenever possible.
Item 16: Make const member functions thread safe.
Item 17: Understand special member function generation.
4.Smart Pointers
Item 18: Use std: : unique_ptr for exclusive-ownership resource management.
Item 19: Use std: : shared_ptr for shared-ownership resource management.
Item 20: Use std : :weak_ptr for std : : shared_ptr-like pointers that can dangle.
Item 21: Prefer std : :make_unique and std : :make_shared to direct use of new.
Item 22: When using the Pimpl Idiom, define special member functions in the implementation file.
5.Rvalue References, Move Semantics, and Perfect Forwarding
Item 23: Understand std : : move and std : : forward.
Item 24: Distinguish universal references from rvalue references.
Item 25: Use std : : move on rvalue references, std : : forward on universal references.
Item 26: Avoid overloading on universal references.
Item 27: Familiarize yourself with alternatives to overloading on universal references.
Item 28: Understand reference collapsing.
Item 29: Assume that move operations are not present, not cheap, and not used.
Item 30: Familiarize yourself with perfect forwarding failure cases.
6.Lambda Expressions
Item 31: Avoid default capture modes.
Item 32: Use init capture to move objects into closures.
Item 33: Use decltype on auto&& parameters to std: :forward them.
Item 34: Prefer lambdas to std : : bind.
7.The Concurrency API
Item 35: Prefer task-based programming to thread-based.
Item 36: Specify std: :launch: :async ifasynchronicityis essential.
Item 37: Make std : : threads unjoinable on all paths.
Item 38: Be aware of varying thread handle destructor behavior.
Item 39: Consider voi_d futures for one-shot event communication.
Item 40: Use std : : atoni.c for concurrency, volatile for special memory.
8.Tweaks
Item 41: Consider pass by value for copyable parameters that are cheap to move and always copied.
Item 42: Consider emplacement instead of insertion.
Index
前言/序言
Effective Modern C++:改善C++11和C++14的42个具体做法(影印版 英文版) 电子书 下载 mobi epub pdf txt
电子书下载地址:
相关电子书推荐:
- 文件名
- 北京花开:写给大看的植物书 畅销书籍 正版 航天北京花开--写给大看的植物书(珍藏版) 韩
- 中国果树科学与实践李
- 正版 中国地理知识百科(全4册) 9787553412658 陈君慧著 吉林出版集团有限责
- 蔬菜生产机械化技术与模式/大田作物生产机械化技术丛书
- BF-徽州地-中国地理百科-中国地理百科丛书编委会著 世界图书出版公司 978751008
- 百鬼夜行:阴 [ひゃっきやこう—いん]
- 写给所有人的极简统计学 9787569914382 (日)永野裕之 ,阳光博客 出品-RT
- 跟芦老师学看猪病 芦惟本
- 九型人格(越简单越实用)
- 中华经典藏书:聊斋志异(升级版)
- 神奇的成像术 杨广军
- 朱迪·皮考特作品第一辑(套装共5册)
- 时代楷模(附光盘2017)
- 丝之屋:柯南·道尔产权会唯一认证的福尔摩斯新故事 [The House of Silk]
- 阅读文库-图形趣话 杨广军