C++ Core Guidelines: Rules for Expressions and Statements

There are quite a lot of rules in the C++ Core Guidelines dealing with expressions and statements. To be precise, there are more than 50 rules are about declarations, expressions, statements, and arithmetic expressions.

Read more
Comments 1Views: 6355

C++ Core Guidelines: Passing Smart Pointers

Passing smart pointers is an important topic which is seldom addressed. This ends with the C++ core guidelines because they have six rules for passing std::shared_ptr and std::unique_ptr.

Read more
Comments 1Views: 12563

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: 6395

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: 6411

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: 2735

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: 3777

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: 6027

My Newest E-Books

Latest comments

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 427

All 897174

Currently are 184 guests and no members online

Kubik-Rubik Joomla! Extensions