Description

Coming to grips with C++eleven and C++14 is greater than an issue of familiarizing your self with the options they introduce (e.g., car sort declarations, transfer semantics, lambda expressions, and concurrency give a boost to). The problem is finding out to make use of the ones options successfully—in order that your Tool is right kind, environment friendly, maintainable, and conveyable. That’s the place this sensible guide is available in. It describes how you can write in reality nice Tool the use of C++eleven and C++14—i.e. the use of Brand new C++. Subjects come with: The professionals and cons of braced initialization, noexcept specs, very best forwarding, and good pointer make purposes The relationships amongst std::transfer, std::ahead, rvalue references, and common references Tactics for writing transparent, right kind, Efficient lambda expressions How std::atomic differs from unstable, how each and every must be used, and the way they relate to C++’s concurrency API How absolute best practices in “antique” C++ programming (i.e., C++ninety eight) require revision for Tool building in Brand new C++ Efficient Brand new C++ follows the confirmed tenet-based totally, instance-pushed structure of Scott Meyers’ in advance books, however covers fully new subject material. “Once I discovered the C++ fundamentals, I then discovered how you can use C++ in manufacturing code from Meyer’s collection of Efficient C++ books. Efficient Brand new C++ is a very powerful how-to guide for recommendation on key tips, types, and idioms to make use of Brand new C++ successfully and neatly. Do not personal it but? Purchase this one. Now”. — Herb Sutter, Chair of ISO C++ Requirements Committee and C++ Tool Architect at Microsoft