Filipek B. C++17 In Detail 2019.pdf

上传者: real_pumpkin | 上传时间: 2022-04-07 12:02:21 | 文件大小: 987KB | 文件类型: PDF
If you’ve ever asked “what’s in C++17 and what does it mean for me and my code?” — and
I hope you have — then this book is for you.
Now that the C++ standard is being released regularly every three years, one of the
challenges we have as a community is learning and absorbing the new features that are being
regularly added to the standard language and library. That means not only knowing what
those features are, but also how to use them effectively to solve problems. Bartlomiej Filipek
does a great job of this by not just listing the features, but explaining each of them with
examples, including a whole Part 3 of the book about how to apply key new C++17 features
to modernize and improve existing code — everything from upgrading enable_if to the
new if constexpr, to refactoring code by applying the new optional and variant
vocabulary types, to writing parallel code using the new standard parallel algorithms. In
each case, the result is cleaner code that’s often also significantly faster too.
The point of new features isn’t just to know about them for their own sake, but to know
about how they can let us express our intent more clearly and directly than ever in our
C++ code. That ability to directly “say what we mean” to express our intent, or to express
“what” we want to achieve rather than sometimes-tortuous details of “how” to achieve it
through indirect mechanisms, is the primary thing that determines how clean and writable
and readable — and correct — our code will be. For C++ programmers working on real-world
projects using reasonably up-to-date C++ compilers, C++17 is where it’s at in the industry
today for writing robust production code. Knowing what’s in C++17 and how to use it well is
an important tool that will elevate your day-to-day coding, and more likely than not reduce
your day-to-day maintenance and debugging chores.
If you’re one of the many who have enjoyed Barteks’s blog (bfilipek.com, frequently cited
at isocpp.org), you’ll certainly also enjoy this entertaining and informative book. And if you
haven’t enjoyed his blog yet, you should check it out too… and then enjoy the book.

文件下载

评论信息

  • frankszn :
    不全,只有part1
    2020-02-25

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明