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: 336

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.

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

REVIEW SNAPSHOT®

by PowerReviews
oreillyEffective Modern C++
 
5.0

(based on 9 reviews)

Ratings Distribution

  • 5 Stars

     

    (9)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Well-written (8)
  • Accurate (5)
  • Easy to understand (5)
  • Helpful examples (5)

Cons

    Best Uses

    • Intermediate (7)
    • Expert (6)
      • Reviewer Profile:
      • Developer (8)

    Reviewed by 9 customers

    Sort by

    Displaying reviews 1-9

    Back to top

     
    5.0

    Recommended

    By Doug

    from Sunnyvale, CA

    About Me Developer

    Verified Buyer

    Pros

    • Accurate
    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate

      Comments about oreilly Effective Modern C++:

      Effective Modern C++ is a nice complement to a C++ reference, like The C++ Programming Language or cppreference.com. While the references cover everything, this book covers a few topics in detail, helping you more deeply understand the rationale behind some of the language and library features and how to use them well.

      While this book is probably a good purchase for anyone using C++, if you are an intermediate C++ programmer looking to up your game or an old-school C++ expert looking to start using C++11/14, then you should definitely get this book.

      (2 of 2 customers found this review helpful)

       
      5.0

      Best C++11 source to date

      By BH

      from Boulder, CO

      About Me Designer, Developer

      Verified Buyer

      Pros

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

      Cons

        Best Uses

        • Intermediate
        • Student

        Comments about oreilly Effective Modern C++:

        This is the first source I've found that actually explains how the new features of C++ will affect how we produce code. Many blogs and books have listed the changes and even given examples, but Scott Meyers is the first to really make sense of it all.
        This book is a pleasure to read and highly recommended for anyone familiar with the old C++.

        (1 of 2 customers found this review helpful)

         
        5.0

        Fantastic book

        By Eric

        from USA

        About Me Developer

        Verified Buyer

        Pros

        • Well-written

        Cons

          Best Uses

          • Expert
          • Intermediate

          Comments about oreilly Effective Modern C++:

          This book has helped me tremendously to better understand C++11/14. It's extremely well written and, believe it or not, a very fun read. C++11/14 in many ways is a new language distinct from C++98. This book will help you on the way to learning those differences.

          (1 of 1 customers found this review helpful)

           
          5.0

          Excellent Tips

          By lefticus

          from Colorado

          About Me Developer

          Verified Buyer

          Pros

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

          Cons

            Best Uses

            • Expert
            • Intermediate

            Comments about oreilly Effective Modern C++:

            Excellent, surprisingly readable for a programming book. So far I've gotten a 20% performance improvement in my application by following the guidelines here.

            (0 of 1 customers found this review helpful)

             
            5.0

            good as usual

            By violator

            from Saint Petersburg, RU

            About Me Developer

            Verified Buyer

            Pros

            • Easy to understand
            • Helpful examples
            • Well-written

            Cons

              Best Uses

              • Intermediate

              Comments about oreilly Effective Modern C++:

              Good advice and explanations from an c++ expert. Thanks for early release program.

              (0 of 1 customers found this review helpful)

               
              5.0

              Very Useful

              By sotoiwa

              from Tokyo, JP

              About Me Developer

              Verified Reviewer

              Pros

              • Well-written

              Cons

                Best Uses

                • Expert

                Comments about oreilly Effective Modern C++:

                I can understand usages of the C++11 and C++14 new functions.
                It's very useful for me to improve my C++ skill.

                (5 of 5 customers found this review helpful)

                 
                5.0

                Very good, not for beginners

                By B

                from Lyon, France

                About Me Developer

                Verified Buyer

                Pros

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

                Cons

                  Best Uses

                  • Expert
                  • Intermediate

                  Comments about oreilly Effective Modern C++:

                  Very good book if you want to get more in depth with recent additions to the C++ language and know best practices.

                  Each item's title is a guideline, and the item ends with a "Things to remember" section, which makes it easy to read, and easy to remember at the same time.

                  Warning, this book is not for people intending to learn C++ or C++11 or C++14. Readers must already have good knowledge of C++ and be aware of what the new features of C++11 and C++14 are.

                  The way the book is structured makes it easy to read and the examples provided are very clear.

                  (6 of 6 customers found this review helpful)

                   
                  5.0

                  More Effective Good Stuff

                  By Calthron

                  from Reno NV

                  About Me Developer

                  Verified Reviewer

                  Pros

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

                  Cons

                    Best Uses

                    • Expert
                    • Intermediate
                    • Student

                    Comments about oreilly Effective Modern C++:

                    We still use the original 3-pack Scott Meyer's books for day to day reference and for solving intellectual disputes. Modern C++ isn't C++11/14... C++11/14 language improvements help to make Modern C++ programming easier to read and write. Scott shows the reader how to use Modern C++ and learn best practices much more quickly. The only thing that is hoped for... revised updates to the older eBooks to bring the entire series C++11/14 syntactically up-to-date! These books are not read once and then tossed... they hang around for a lifetime (hate to see them get stale). Thanks SCOTT!

                    (2 of 10 customers found this review helpful)

                     
                    5.0

                    Thank you!

                    By Oleg Morzhin

                    from Moscow

                    Comments about oreilly Effective Modern C++:

                    Thank you for this book!

                    Displaying reviews 1-9

                    Back to top

                     
                    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
                    Available January 2015
                    Print: $49.99
                    Available January 2015