![future](https://www.modernescpp.com/wp-content/uploads/2018/08/future.jpg)
C++ Core Guidelines: Rules for Templates and Generic Programming
/
0 Comments
I this post I give an introduction to the rules for generic programming in C++. Generic programming is,…
![precious 1199183 1920](https://www.modernescpp.com/wp-content/uploads/2018/08/precious-1199183_1920.jpg)
C++ Core Guidelines: Rules for Constants and Immutability
Making objects or methods const has two benefits. First, the compiler will complain when you break the…
![firefighters 1147795 1280](https://www.modernescpp.com/wp-content/uploads/2018/08/firefighters-1147795_1280.jpg)
C++ Core Gudelines: goto considered Evil
If you can't throw an exception and can't use final_action (finally) from the guideline support library,…
![accident 994009 1280](https://www.modernescpp.com/wp-content/uploads/2018/08/accident-994009_1280.jpg)
C++ Core Guidelines: finally in C++
To make my point clear, this post is about the exceptional case that you can not throw an exception.…
![disappointment 3151237 1280](https://www.modernescpp.com/wp-content/uploads/2018/08/disappointment-3151237_1280.jpg)
C++ Core Guidelines: Rules about Exception Handling
Today's post is about the right way to throw and catch exceptions. This means when you should throw and…
![teddy 562960 1280](https://www.modernescpp.com/wp-content/uploads/2018/07/teddy-562960_1280.jpg)
C++ Core Guidelines: The noexcept Specifier and Operator
If you skim the remaining rules to error handling, you often read the word noexcept. Before I write…
![Design by contract](https://www.modernescpp.com/wp-content/uploads/2018/07/Design_by_contract.png)
C++ Core Guidelines: A Short Detour to Contracts in C++20
My original plan was it to write in this post about the next rules to error handling. But I changed my…
![bobby car](https://www.modernescpp.com/wp-content/uploads/2018/07/bobby-car.jpg)
C++ Core Guidelines: Rules for Error Handling
Error handling is an essential part of writing good software; therefore, the C++ core guidelines have…
![padlock](https://www.modernescpp.com/wp-content/uploads/2018/07/padlock.png)
C++ Core Guidelines: The Remaining Rules about Lock-Free Programming
Today, I will finish my story on concurrency and lock-free programming. There are four rules to lock-free…
![park 748339 1280](https://www.modernescpp.com/wp-content/uploads/2018/06/park-748339_1280.jpg)
C++ Core Guidelines: The Resolution of the Riddle
Today, I will solve the riddle from my last post. Thanks to my readers, the analysis of the ABA problem…