C++ Core Guidelines: Rules for Smart Pointers

There were a lot of C++ experts who said that smart pointers were the most important feature of C++11. Today, I will write about smart pointers in C++.

Read more
Add CommentViews: 5352

C++ Core Guidelines: Rules for Allocating and Deallocating

The guidelines has six rules for explicit memory allocation and deallocation. Six! Maybe you are surprised because there is a simple rule in modern C++: don't use new and delete. Obviously, the story is not so simple.

Read more
Add CommentViews: 5851

The new pdf bundle is available: Embedded - Performance Matters

I have prepared the pdf bundle. To get it is quite simple.

Read more
Add CommentViews: 2462

C++ Core Guidelines: Rules to Resource Management

This and the next posts will probably be about the most important concern in programming: resource management. The C++ Core Guidelines has rules for resource management in general but also rules for allocation and deallocation and smart pointers in particular. Today I will begin with the general rules of resource management.

Read more
Add CommentViews: 3102

C++ Core Guidelines: Rules for Enumerations

The section to enumerations has eight rules. Since C++11, we have scoped enumerations which overcome a lot of the drawbacks of classical enumerations. 

Read more
Add CommentViews: 4166

Which pdf bundle should I provide? Make your choice!

Now, it's time to choose the next pdf bundle? You will get all posts, all source files, and a cmake file to the chosen topic.

Read more
Add CommentViews: 2986

C++ Core Guidelines: Rules for Unions

A union is a special data type where all members start at the same address. A union can hold only one type at a time; therefore, you can save memory. A tagged union is a union which keeps track of its types.

Read more
Comments 2Views: 5404

My Newest E-Books

Latest comments

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 2441

All 779577

Currently are 234 guests and no members online