Effective Modern C++
42 Specific Ways to Improve Your Use of C++11 and C++14
Publisher: O'Reilly Media
Final Release Date: November 2014
Pages: 334

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

Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyEffective Modern C++
 
4.9

(based on 22 reviews)

Ratings Distribution

  • 5 Stars

     

    (20)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Well-written (16)
  • Helpful examples (15)
  • Accurate (14)
  • Easy to understand (13)
  • Concise (10)

Cons

No Cons

Best Uses

  • Expert (16)
  • Intermediate (16)
  • Student (3)
    • Reviewer Profile:
    • Developer (17), Designer (3)

Reviewed by 22 customers

Displaying reviews 1-10

Back to top

Previous | Next »

 
5.0

By Far Best C++11/C++14 book

By Dave

from Riverside, CA

About Me Designer, Developer

Verified Buyer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Expert
    • Intermediate

    Comments about oreilly Effective Modern C++:

    Scott Meyers is by far the best teacher when it comes to understanding the C++ language. This book is a classic as always and is a must study material for anyone wanting to learn C++11/C++14. It goes into deep detail to assist the reader in fully understanding each topic. Each chapter of this book is a gem. By far the best C++ book I've read.

     
    5.0

    A Must-Read

    By maraio

    from Brasov, Romania

    Verified Buyer

    Comments about oreilly Effective Modern C++:

    A must-read for every C++ developer working with C++.

     
    5.0

    Must read for c++ programmers

    By Ching

    from Mn

    About Me Developer

    Verified Buyer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate
      • Novice
      • Student

      Comments about oreilly Effective Modern C++:

      Great book for learning modern C++

       
      5.0

      I'm not read the all book but is what I expected. Thank you

      By josfus

      from Petrópolis - State of Rio de Janeiro - B

      Verified Buyer

      Pros

      • I Not Have Time To Real A

      Cons

        Best Uses

          Comments about oreilly Effective Modern C++:

          The produt is for acquire experience in C++, but now I'm learning C, after I will learn C++ in advance level that is this book. In other opportunity I can give a better review

          (1 of 1 customers found this review helpful)

           
          5.0

          Great book with new C++11/14 features

          By Sebastian

          from Bydgoszcz, Poland

          About Me Designer, Developer, Educator

          Verified Reviewer

          Pros

          • Accurate
          • Concise
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Expert
            • Intermediate

            Comments about oreilly Effective Modern C++:

            Content
            The book describes new language features introduced in C++11 and 14.

            The first paragraph explains how type resolution works in C++, which might be considered as an introduction to the second paragraph - auto types. The third paragraph is dedicated to several small improvements in C++11/14, like aliases, nullptrs or function overrides. Next paragraph is fully dedicated to smart pointers and their different use cases. Paragraph number five introduces std::move and std::forward concepts. Lambda expressions are covered in paragraph six and seventh introduces new concurrency API (Atomics). The last paragraph covers some minor tweaks.

            Writing style
            The book is organized into items (similarly to "Effective Java"). Multiple items form paragraphs which cover broader topic (such as concurrency). All items are clearly defined and contain a lot of code snippets, which makes them easier to understand. The book is very concise and to-the-point and defiantly dedicated for intermediate or advanced C++ programmers who want to learn new language features.

            Review
            This book is like manual for new C/C++ features. I often get back to it when I want to use something new. Very strict language and a lot of code examples help to understand described concepts. From my perspective the best part was about Atomics. Dealing with multithreded code (especially targeted for multiple runtimes) was a nightmare before introducing concurrency features. It is also worth mentioning that this book is not meant for beginners. The reader needs to have at least some intermediate experience to learn more advanced concepts shown in the book.

            (1 of 1 customers found this review helpful)

             
            5.0

            To improve your C++

            By Tom

            from Nacka, Swedeb

            About Me Developer

            Verified Reviewer

            Pros

            • Accurate
            • Concise
            • Easy to understand
            • Helpful examples
            • Well-written

            Cons

              Best Uses

              • Expert
              • Intermediate

              Comments about oreilly Effective Modern C++:

              This is a book you read to improve your C++. It is not a book you read to learn the basics of C++. Before reading this book you should have read "The C++ Programming Language, 4th ed" by Stroustrup and "The C++ Standard Library, 2nd ed" by Josuttis.

              As with the all books by Scott Meyers this book is well written. It is both entertaining and informative.

              (1 of 1 customers found this review helpful)

               
              4.0

              Good book, but very high pre-requisites

              By Jeff

              from Montreal

              About Me Developer

              Verified Buyer

              Pros

              • Accurate
              • Helpful examples

              Cons

              • Difficult to understand

              Best Uses

              • Expert

              Comments about oreilly Effective Modern C++:

              Excellent book, very accurate, very pointed knowledge. Excellent guidance. However, it takes way to much prior knowledge to get all the value out of it. A professional C++98 programmer with 10+ years of experience would still be completely lost.

              Every item should have the related code right up at the beginning, with either
              - an indication of what won't compile,
              - what will produce unexepected execution,
              - the interesting bit highlighted.
              Otherwise, the language/terms are quite inaccessible, even to the seasoned professional.

              Reading the book without a compiler handy is only valuable to get very general information about the topic.

              (3 of 6 customers found this review helpful)

               
              3.0

              Good book, too much filler text

              By Vlad S.

              from Toronto, ON

              About Me Developer

              Verified Reviewer

              Pros

              • Easy to understand
              • Helpful examples

              Cons

              • Badly Written
              • Lots Of Filler

              Best Uses

              • Expert
              • Intermediate

              Comments about oreilly Effective Modern C++:

              This is a good book jumping around most notable features of modern 11/13 C++. Only problem I have with it - it seems that author had hard time filling 300 pages with useful content, so some "items" are amazingly stretched, a lot of filler text and unnecessary explanation of obvious things explained before. I would say book could be at least half shorter without losing any value.

              (1 of 1 customers found this review helpful)

               
              5.0

              A must read - as expected

              By nopcoder

              from Germany

              About Me Developer

              Verified Buyer

              Pros

              • Accurate
              • Concise
              • Easy to understand
              • Helpful examples
              • Well-written

              Cons

                Best Uses

                • Expert
                • Intermediate

                Comments about oreilly Effective Modern C++:

                Even though I already have some experience with C++11, Scott Meyers book adds some goodies to my knowledge.

                (0 of 6 customers found this review helpful)

                 
                5.0

                Up to date for at least 10 years!

                By jantastic

                from Hamburg, Germany

                Comments about oreilly Effective Modern C++:

                Unfortunately the print version isn't available before January 2025. But I'm pretty shure it's worthwhile to wait that long!

                Displaying reviews 1-10

                Back to top

                Previous | Next »

                 
                Buy 2 Get 1 Free Free Shipping Guarantee
                Buying Options
                Immediate Access - Go Digital what's this?
                Ebook:  $42.99
                Formats:  DAISY, ePub, Mobi, PDF
                Print & Ebook:  $54.99
                Print:  $49.99