Overview
Explore the C++ Core Guidelines and their impact on creating safer, more efficient C++ code in this 49-minute conference talk. Delve into the philosophy and goals behind these guidelines, their relationship to C++ Safety Guidelines, and key areas they address. Learn about automated tooling built into Cevelop that can help modernize and improve code quality without sacrificing performance. Discover practical examples of guideline application, including const correctness, constructor/destructor/assignment improvements, and pointer and array management. Gain insights into automatic code repair techniques and future developments in this field. By the end of the talk, acquire the knowledge to apply Core Guidelines in your own projects, creating safer and more maintainable C++ code.
Syllabus
Introduction
Lifetime goal
What are guidelines
Guidelines landscape
Role of guidelines
Undefined behavior
Bad corners
Good practices
Core Guidelines
Examples
Philosophy behind the Guidelines
Myths
Interfaces
Constructors
Default of Operations
Move Assignments
League Resources
Multiple Resources
Ownership
Cons
Classes
Support Library
RevUp
Questions
Taught by
NDC Conferences