During this week, I worked on an old system that still uses a C++98 compiler (apparently, popular in some industry like spaces, airport…).During a code review, a colleague tried to share a pointer between several classes. Unfortunately, without smart pointers, ...

Read More

Do you know how to create a thread in C++11? During this post, we will review together the different manner to use the class thread. We will concentrate on the first purpose: The thread creation! The Thread library - Create ...

Read More

Today, I want to introduce to you an overview of some features coming from C++20! C++20 is one of the most important C++ standard updates since C++11. During this blog post, we will review the modules, here we go! What ...

Read More

Do you know the functions Apply and Invoke? Those two methods from “std” are linked to the concept of “callable” objects.A “callable” object definition is simple. It could be a function, or a class object which overloads “operator()” (which can ...

Read More

Is OOP (Object Oriented Programming) dying? Should we stop to use OOP? This question is asked by many programmers. I can't count the number of post about "why OOP are great" or "No stop! It is a trap!". I wanted ...

Read More

​Did you already used directly the pthread library? If it is the case, you had already used the "​pthread_cond_wait" function! However, did you correctly used it? What is pthread_cond_wait? "pthread_cond_wait" or "wait on a condition" is a function from the pthread ...

Read More