C++ Core Guidelines Explained Best Practices for Modern C++ 1st Edition by Rainer Grimm – Ebook PDF Instant Download/Delivery: 0136875610, 9780136875611
Full download C++ Core Guidelines Explained Best Practices for Modern C++ 1st Edition after payment
Product details:
ISBN 10: 0136875610
ISBN 13: 9780136875611
Author: Rainer Grimm
Write More Elegant C++ Programs The official C++ Core Guidelines provide consistent best practices for writing outstanding modern C++ code and improving legacy code, but they’re organized as a reference for looking up one specific point at a time, not as a tutorial for working developers. In C++ Core Guidelines Explained, expert C++ instructor Rainer Grimm has distilled them to their essence, removing esoterica, sharing new insights and context, and presenting well-tested examples from his own training courses. Grimm helps experienced C++ programmers use the Core Guidelines with any recent version of the language, from C++11 onward. Most of his code examples are written for C++17, with added coverage of newer versions and C++20 wherever appropriate, and references to the official C++ Core Guidelines online. Whether you’re creating new software or improving legacy code, Grimm will help you get more value from the Core Guidelines’ most useful rules, as you write code that’s safer, clearer, more efficient, and easier to maintain. Apply the guidelines and underlying programming philosophy Correctly use interfaces, functions, classes, enum, resources, expressions, and statements Optimize performance, implement concurrency and parallelism, and handle errors Work effectively with constants, immutability, templates, generics, and metaprogramming Improve your C++ style, manage source files, and use the Standard Library “We are very pleased to see Rainer Grimm applying his teaching skills and industrial background to tackling the hard and necessary task of making the C++ Core Guidelines accessible to more people.” –Bjarne Stroustrup and Herb Sutter, co-editors, C++ Core Guidelines Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
C++ Core Guidelines Explained Best Practices for Modern C++ 1st Table of contents:
Pearson’s Commitment to Diversity, Equity, and Inclusion
Contents
List of selected C++ Core Guidelines
List of figures
List of tables
Foreword
Preface
Conventions
Why guidelines?
Panta rhei
How to read this book
Acknowledgments
About the author
Part I: The Guidelines
Chapter 1. Introduction
Target readership
Aim
Non-aims
Enforcement
Structure
Major sections
Chapter 2. Philosophy
Chapter 3. Interfaces
The curse of non-const global variables
Dependency injection as a cure
Making good interfaces
Related rules
Chapter 4. Functions
Function definitions
Parameter passing: in and out
Parameter passing: ownership semantics
Value return semantics
Other functions
Related rules
Chapter 5. Classes and Class Hierarchies
Summary rules
Concrete types
Constructors, assignments, and destructors
Class hierarchies
Overloading and overloaded operators
Unions
Related rules
Chapter 6. Enumerations
General Rules
Related rules
Chapter 7. Resource Management
General rules
Allocation and deallocation
Smart pointers
Related rules
Chapter 8. Expressions and Statements
General
Declarations
Expressions
Statements
Arithmetic
Related rules
Chapter 9. Performance
Wrong optimizations
Wrong assumptions
Enable optimization
Related rules
Chapter 10. Concurrency
General guidelines
Concurrency
Parallelism
Message passing
Lock-free programming
Related rules
Chapter 11. Error Handling
Design
Implementation
If you can’t throw
Related rules
Chapter 12. Constants and Immutability
Use const
Use constexpr
Chapter 13. Templates and Generic Programming
Use
Interfaces
Definition
Hierarchies
Variadic templates
Metaprogramming
Other rules
Related rules
Chapter 14. C-Style Programming
Entire source code available
Entire source code not available
Chapter 15. Source Files
Interface and implementation files
Namespaces
Chapter 16. The Standard Library
Containers
Text
Input and output
Related rules
Part II: Supporting Sections
Chapter 17. Architectural Ideas
Chapter 18. Nonrules and Myths
Chapter 19. Profiles
Pro.typeType safety
Pro.boundsBounds safety
Pro.lifetimeLifetime safety
Chapter 20. Guidelines Support Library
Views
Ownership pointers
Assertions
Utilities
Part III: Appendixes
Appendix A. Enforcing the C++ Core Guidelines
Visual Studio
clang-tidy
Appendix B. Concepts
Appendix C. Contracts
People also search for C++ Core Guidelines Explained Best Practices for Modern C++ 1st:
c core guidelines explained best practices for modern
c++ core guidelines explained best practices for modern c ++
charts best practices
user guide best practices
c programming best practices
Tags:
Rainer Grimm,C Core,Modern C