C++ Core Guidelines: Accessing Objects in a Hierarchy
/
0 Comments
There are nine rules to access objects in class hierarchies. Let's have a closer look.
Here…
C++ Core Guidelines: The Remaining Rules about Class Hierarchies
I needed three posts to present the 20 rules for class hierarchies in the C++ core guidelines. Here are…
C++ Core Guidelines: More Rules about Class Hierarchies
In the last post, I started our journey with the rules of class hierarchies in modern C++. The first…
C++ Core Guidelines: Class Hierarchies
Let's talk in this post about rules for class hierarchies in general and in particular. The C++ core…
C++ Core Guidelines: Function Objects and Lambdas
I can not think about modern C++ without lambda expressions. So my wrong assumption was that there are…
C++ Core Guidelines: Comparison, Swap, and Hash
This post will be about comparisons, swap, and hash. That means I conclude with his post my treatise…
C++ Core Guidelines: Rules for Copy and Move
The rules for copy and move are pretty obvious. But before I describe them I have to write about the…
C++ Core Guidelines: Constructors
The lifecycle of each object starts with its creation; therefore, this post will be about the thirteen…
C++ Core Guidelines: Destructor Rules
Does my class need a destructor? I often heard this question. Most of the time the answer is no and you…
C++ Core Guidelines: The Rule of Zero, Five, or Six
This post is about the rule of zero, five, or maybe six. I will also show the difference between copy…