To be Modern or Not
C++ has great change after C++11 and it still continues. I shared some of the basic important topics before. But I wish to add a summary here ; Use nonstatic data initialization instead of...
C++ has great change after C++11 and it still continues. I shared some of the basic important topics before. But I wish to add a summary here ; Use nonstatic data initialization instead of...
To protect value with a simple mutex. The other way is using unique_lock but it locks threat critically New Memory model Atomic Atomic brings us a secure model to reach data on memory. However,...
Here, in Great Britain, nobody knows what will happen to us. We live in the corona attack and Mr Jhonson’s careless approach. As a Turkish guy, I don’t clearly understand why these English Politicians...
In C++ templates may use to declare to get several version In here you may find a way to declare a type called Param but not only one strict type. You may use it...
By writing a constructor template you can cover several alternatives of the constructors. But there is also a way to call copy constructor or move constructor when you forwarding an object. In flowing code,...
You can pass size of an array by only using a template parameter. Here is an example code of it
You cant throw an exception from a deconstruction method of a class because all destroy methods are noexcept(true).