Buy New
-
To see product details, add this item to your cart.
Ships from: Amazon Sold by: kevinstechbooks
Used - Very Good
-
To see product details, add this item to your cart.
Ships from: Bahamut Media Sold by: Bahamut Media
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14
Purchase options and add-ons
Coming to grips with C++11 and C++14 is more than a matter of familiarizing yourself with the features they introduce (e.g., auto type declarations, move semantics, lambda expressions, and concurrency support). The challenge is learning to use those features effectively―so that your software is correct, efficient, maintainable, and portable. That’s where this practical book comes in. It describes how to write truly great software using C++11 and C++14―i.e. using modern C++.
Topics include:
- The pros and cons of braced initialization, noexcept specifications, perfect forwarding, and smart pointer make functions
- The relationships among std::move, std::forward, rvalue references, and universal references
- Techniques for writing clear, correct, effective lambda expressions
- How std::atomic differs from volatile, how each should be used, and how they relate to C++'s concurrency API
- How best practices in "old" C++ programming (i.e., C++98) require revision for software development in modern C++
Effective Modern C++ follows the proven guideline-based, example-driven format of Scott Meyers' earlier books, but covers entirely new material.
"After I learned the C++ basics, I then learned how to use C++ in production code from Meyer's series of Effective C++ books. Effective Modern C++ is the most important how-to book for advice on key guidelines, styles, and idioms to use modern C++ effectively and well. Don't own it yet? Buy this one. Now".
-- Herb Sutter, Chair of ISO C++ Standards Committee and C++ Software Architect at Microsoft
- ISBN-109781491903995
- ISBN-13978-1491903995
- Edition1st
- PublisherO'Reilly Media, Incorporated
- Publication dateDecember 5, 2014
- LanguageEnglish
- Dimensions8.5 x 0.76 x 11 inches
- Print length332 pages
Frequently bought together

Customers who viewed this item also viewed
- Tour of C++, A (C++ In-Depth Series)PaperbackFREE Shipping by AmazonGet it as soon as Wednesday, Sep 30
- Effective C++: 55 Specific Ways to Improve Your Programs and Designs (Addison-Wesley Professional Computing Series)PaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Saturday, Oct 3
- Programming: Principles and Practice Using C++ (C++ In-depth)PaperbackFREE Shipping by AmazonGet it as soon as Wednesday, Sep 30
- C++ Software Design: Design Principles and Patterns for High-Quality SoftwarePaperbackFREE Shipping by AmazonGet it as soon as Wednesday, Sep 30
- Modern C++ Programming Cookbook: Master Modern C++ with comprehensive solutions for C++23 and all previous standardsPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Wednesday, Sep 30
Customers also bought or read
- Effective C++: 55 Specific Ways to Improve Your Programs and Designs (Addison-Wesley Professional Computing Series)
Paperback$23.08$23.08Delivery Sat, Oct 3 - C++ Software Design: Design Principles and Patterns for High-Quality Software
Paperback$51.24$51.24FREE delivery Wed, Sep 30 - More Effective C++: 35 New Ways to Improve Your Programs and Designs (Addison-Wesley Professional Computing Series)
Paperback$14.90$14.90$3.99 delivery Sat, Oct 3 - Modern C++ Programming Cookbook: Master Modern C++ with comprehensive solutions for C++23 and all previous standards
Paperback$26.53$26.53Delivery Wed, Sep 30 - Operating Systems: Three Easy Pieces#1 Best SellerComputer Operating Systems Theory
Paperback$28.27$28.27Delivery Wed, Sep 30 - Design Patterns: Elements of Reusable Object-Oriented Software
Hardcover$23.97$23.97Delivery Wed, Sep 30 - Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library (Addison-Wesley Professional Computing Series)
Paperback$26.53$26.53Delivery Wed, Sep 30 - C++ Memory Management: Write leaner and safer C++ code using proven memory-management techniques
Paperback$29.99$29.99Delivery Wed, Sep 30 - The Art of Writing Efficient Programs: An advanced programmer's guide to efficient hardware utilization and compiler optimizations using C++ examples
Paperback$39.59$39.59FREE delivery Wed, Sep 30 - Inside the Machine: An Illustrated Introduction to Microprocessors and Computer Architecture
Paperback$41.31$41.31FREE delivery Wed, Sep 30 - Modern C++ Design: Generic Programming and Design Patterns Applied (C++ In-Depth Series)
Paperback$52.33$52.33FREE delivery Oct 3 - 5 - C++ High Performance: Master the art of optimizing the functioning of your C++ code, 2nd Edition
Paperback$59.99$59.99FREE delivery Wed, Sep 30 - Programming: Principles and Practice Using C++ (C++ In-depth)#1 Best SellerC++ Programming Language
Paperback$56.72$56.72FREE delivery Wed, Sep 30 - Systems Performance (Addison-Wesley Professional Computing Series)
Paperback$57.41$57.41FREE delivery Wed, Sep 30 - Accelerated C++: Practical Programming by Example (C++ In-Depth Series)
Paperback$24.31$24.31Delivery Sat, Oct 3 - Fluent Python: Clear, Concise, and Effective Programming
Paperback$43.99$43.99FREE delivery Wed, Sep 30 - C Programming Language, 2nd Edition#1 Best SellerC Programming Language
Paperback$59.00$59.00FREE delivery Mon, Oct 5 - C++17 In Detail: Learn the Exciting Features of The New C++ Standard!
Paperback$31.99$31.99Delivery Wed, Sep 30
From the brand
-
Your partner in learning
-
Bestsellers
-
Software Development
-
Programming Languages
-
AI / Machine Learning
-
Data Science
-
Data, Databases and more
-
Cloud Services
-
Business
-
Finance
-
Blockchain / Cryptocurrency
-
Security
-
Lean series
-
Cookbooks
-
Head First series
-
97 Things series
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
From the Publisher
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.
Editorial Reviews
Review
About the Author
Product details
- ASIN : 1491903996
- Publisher : O'Reilly Media, Incorporated
- Publication date : December 5, 2014
- Edition : 1st
- Language : English
- Print length : 332 pages
- ISBN-10 : 9781491903995
- ISBN-13 : 978-1491903995
- Item Weight : 1.4 pounds
- Dimensions : 8.5 x 0.76 x 11 inches
- Best Sellers Rank: #59,598 in Books (See Top 100 in Books)
- #3 in C Programming Language
- #6 in C++ Programming Language
- #7 in Object-Oriented Software Design
- Customer Reviews:
About the author

For more than 20 years, Scott Meyers' Effective C++ books (Effective C++, Effective Modern C++, Effective STL, and More Effective C++) have set the bar for C++ programming guidance. His clear, engaging explanations of complex technical material have earned him a worldwide following, keeping him in demand as a trainer, consultant, and conference presenter. He has a Ph.D. in Computer Science from Brown University.





















