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 effectivelyso that your software is correct, efficient, maintainable, and portable. Thats where this practical book comes in. It describes how to write truly great software using C++11 and C++14i.e. using modern C++.Topics include:The pros and cons of braced initialization, noexcept specifications, perfect forwarding, and smart pointer make functionsThe relationships among std::move, std::forward, rvalue references, and universal referencesTechniques for writing clear, correct, effective lambda expressionsHow std::atomic differs from volatile, how each should be used, and how they relate to C++'s concurrency APIHow best practices in "e;old"e; 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."e;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"e;.-- Herb Sutter, Chair of ISO C++ Standards Committee and C++ Software Architect at Microsoft

Titel
Effective Modern C++
Untertitel
42 Specific Ways to Improve Your Use of C++11 and C++14
EAN
9781491908433
ISBN
978-1-4919-0843-3
Format
PDF
Hersteller
Herausgeber
Veröffentlichung
11.11.2014
Digitaler Kopierschutz
Adobe-DRM
Dateigrösse
2.98 MB
Anzahl Seiten
336
Jahr
2014
Untertitel
Englisch