
C++ Core Guidelines: Declarations and Initialisations
/
0 Comments
Let's continue our tour through the rules for expressions and statements in the C++ core guidelines.…

C++ Core Guidelines: Rules for Expressions and Statements
There are many rules in the C++ Core Guidelines dealing with expressions and statements. To be precise,…

C++ Core Guidelines: Passing Smart Pointers
Passing smart pointers is a critical topic that is seldom addressed. This ends with the C++ core guidelines…

C++ Core Guidelines: Rules for Smart Pointers
There were a lot of C++ experts who said that smart pointers were the essential feature of C++11. Today,…

C++ Core Guidelines: Rules for Allocating and Deallocating
The guidelines have six rules for explicit memory allocation and deallocation. Six! Maybe you are surprised…

C++ Core Guidelines: Rules about Resource Management
This and the following posts will probably be about the most critical concern in programming: resource…

C++ Core Guidelines: Rules for Enumerations
The section to enumerations has eight rules. Since C++11, we have scoped enumerations which overcome…

C++ Core Guidelines: Rules for Unions
A union is a particular data type where all members start at the same address. A union can hold only…

C++ Core Guidelines: More Rules for Overloading
I started the last post on my journey through the rules for overloading functions and operators. Let…

C++ Core Guidelines: Rules for Overloading and Overload Operators
There are ten rules for overloading and overload operators in the C++ core guidelines. Many of them are…