Today's post is about the right way to throw and catch exceptions. This means in particular when you should throw and how you should catch an exception.
If you skim through the remaining rules to error handling, you often read the word noexcept. Before I write about the rules to error handling, I write first about the noexcept specifier and the noexcept operator in this post.
My original plan was it to write in this post about the next rules to error handling. But I changed my plan to write about the future: contracts in C++20.
Error handling is an important part of writing good software; therefore, the C++ core guidelines has about 20 rules for error handling.
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.
Today, I will finish my story to concurrency and lock-free programming in particular. There are four rules to lock-free programming in the C++ core guidelines left.
Today, I solve the riddle from my last post. Thanks to my readers, the analysis of the ABA problem is quite accurate.
Today, I finish the rules to concurrency and continue directly with lock-free programming. Yes, you have read it correctly: lock-free programming.
After the last post to executors, I can now finally write about the unified futures. I write in the post about the long past of the futures and end my detour from the C++ core guidelines.
The update of my book "Concurrency with Modern C++" is available. This version is a total rework of the previous one and includes also new sections such as for executors. In total, the book is 60 pages bigger.
Currently are 147 guests and no members online
Kubik-Rubik Joomla! Extensions