跳至內容
Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14

Price:

$ 63.40


Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14

https://m.media-amazon.com/images/I/91i+g38v9eL.jpg
6 sold in last 24 hours

$ 63.40 63.4 USD $ 63.40

Not Available For Sale

($ 63.40 / Units)
8 people are viewing this right now

  • 品牌
  • 发布日期
  • 项目重量
  • 语言
  • 产品类型
  • 编辑
  • 出版商
  • 打印长度
  • ISBN 10 (英语).
  • ISBN 13 (英语).
  • 尺寸
  • ISBN 10 (英语).
  • ISBN 13 (英语).

此組合不存在

Object-Oriented Design

條款及條件
30天退款保證
運送:2-3 個工作日

Estimated shipping
Select a product to estimate shipping.

From the Introduction

If you’re an experienced C++ programmer and are anything like me, you initially approached C++11 thinking, “Yes, yes, I get it. It’s C++, only more so.” But as you learned more, you were surprised by the scope of the changes. auto declarations, range-based for loops, lambda expressions, and rvalue references change the face of C++, to say nothing of the new concurrency features. And then there are the idiomatic changes. 0 and typedefs are out, nullptr and alias declarations are in. Enums should now be scoped. Smart pointers are now preferable to built-in ones. Moving objects is normally better than copying them.

There’s a lot to learn about C++11, not to mention C++14.

More importantly, there’s a lot to learn about making effective use of the new capabilities. If you need basic information about “modern” C++ features, resources abound, but if you’re looking for guidance on how to employ the features to create software that’s correct, efficient, maintainable, and portable, the search is more challenging. That’s where this book comes in. It’s devoted not to describing the features of C++11 and C++14, but instead to their effective application.

The information in the book is broken into guidelines called Items. Want to understand the various forms of type deduction? Or know when (and when not) to use auto declarations? Are you interested in why const member functions should be thread safe, how to implement the Pimpl Idiom using std::unique_ptr, why you should avoid default capture modes in lambda expressions, or the differences between std::atomic and volatile? The answers are all here. Furthermore, they’re platform-independent, Standards-conformant answers. This is a book about portable C++.

The Items in this book are guidelines, not rules, because guidelines have exceptions. The most important part of each Item is not the advice it offers, but the rationale behind the advice. Once you’ve read that, you’ll be in a position to determine whether the circumstances of your project justify a violation of the Item’s guidance. The true goal of this book isn’t to tell you what to do or what to avoid doing, but to convey a deeper understanding of how things work in C++11 and C++14.

Product details

Master Modern C++: Improve Your Code -2
Main Specification
发布日期 2014 (中文(简体) ). or December 5
品牌 by Scott Meyers (Author) Format: Paperback
项目重量 1.4英镑
Product information
语言 联合国
Others
出版商 O'Reilly Media or Incorporated
产品类型 Object-Oriented Design
编辑 第1个
打印长度 332 pages
ISBN 10 (英语). 9781491903995
ISBN 13 (英语). 978-1491903995
尺寸 8.5 x 0.76 x 11 inches
ISBN 10 (英语). 9781491903995
ISBN 13 (英语). 978-1491903995