Welcome to the next pikoTutorial ! The error we’re handling today is a C++ compilation error: What does it mean? It often occurs when the compiler encounters a place in the code where it would normally expect a static member function, but the actual function is not static. Let’s say…
c++ function pointer
Destruction order vs thread safety in C++
Welcome to the next pikoTutorial ! What’s the problem? Let’s take a look at the simple example below: Let’s quickly sum up what’s going on here and what could be the expected output of such program: To understand why it happens, let’s add a custom deleter to the unique pointer,…