First Look: C++ Core Guidelines and the Guideline Support Library
The C++ Core Guidelines is a set of rules designed to help you write modern, safe C++ - saving you time and effort as well as making your code more reliable. In this course, you'll learn the philosophy behind the guidelines and see some examples of how following them can improve your code.
What you'll learn
C++ has a reputation for being a difficult and sometimes dangerous language. The C++ Core Guidelines is a set of rules designed to help you write modern, safe C++ - saving you time and effort as well as making your code more reliable. Announced Sept 21st 2015, the Guidelines are under active development. You can start to use them – and more importantly, to use tools that check your code against them – today. In this course, you'll learn the philosophy behind the guidelines and see some examples of how following them can improve your code. You'll learn how to use Visual Studio to check your code against the guidelines and start writing safer C++.
Table of contents
- Introduction 0m
- Overview 1m
- When You Think C++ 2m
- Modern, Safe, Simple 3m
- Demo: Guidelines on GitHub 4m
- The C++ Core Guidelines 1m
- Example: Avoid Calling New and Delete 3m
- Demo: Sample Guideline 4m
- Tone and Character 2m
- The Guideline Support Library 2m
- Expansion for Safety 6m
- With the GSL You Can 2m
- Demo: One GSL Implementation 5m
- The Guidelines Are Not 3m
- Summary 2m