Const Correctness
Writing const correct code is about more than using const in a few places and letting the compiler figure out if it makes sense.
Writing const correct code is about more than using const in a few places and letting the compiler figure out if it makes sense.
I have done another refactoring session in my last two blog posts. I have covered refactoring in other blog posts, but there is a thing that is really important about […]
Today I’ll pick up where I left last week with the refactoring with @vaughncato‘s inverse matrix multiplication function.
A while ago, Twitter user @vaughncato sent me the piece of code for this refactoring session. Since there is a lot of things to do on this code, I split […]
Since my last post you know what I think how C++ code should be split into header and source files. But where should we put those files? How should the directory structure […]
Any C++ developer knows how to compile and link multiple compilation units together. The difficult part can be to determine which parts of the code should be separated in different compilation […]
In the last two weeks I have written about the basics of compile time constants and calculation with those constants. This week I conclude this mini series with the keyword […]
I have written about what we need compile time constants for last week. This time I will dig a bit into where we can get compile time constants from, and […]
Compile time constants are an important part of C++. They contribute to program correctness and allow the optimizer to do a better job. Today I will deal with what is possible […]
“Is there some documentation how I have to configure my IDE to integrate and debug those components?” – “Yes. Have a look at the Wiki. Or maybe there is some […]