Home
Sandor Dargo's Blog
Cancel

C++ concepts with classes

Last time we discussed how to use concepts with functions and this time we are going to see how to use concepts with classes. I know it’s not what I promised at the end of the previous article, but...

What Does This Button Do?: An Autobiography by Bruce Dickinson

What a great title, what a good way to live a meaningful life! Ask questions and be curious all the time! I took this book into my hands as Ryan Holiday recommended it and I like heavy metal, in ...

4 ways to use C++ concepts in functions

Welcome back to the series on C++ concepts. In the previous article we discussed what are the motivations behind concepts, why we need them. Today we are going to focus on how to use existing conce...

How to turn failures into growth in 5 steps?

As you might know, I’m writing a book, its working title is “The Seniority Trap”. From time to time, I’ll post some parts of it, before it gets released. If you are interested in the updates, pleas...

The concept behind C++ concepts

The idea of concepts is one of the major new features added to C++20. Concepts are an extension for templates. They can be used to perform compile-time validation of template arguments through bool...

I released my first book: How to use const in C++

I’ve got some great news to share with you. Based on my series on when to use const in C++, I wrote a book on the same topic and I released it on LeanPub! In the book, I discuss the idea of con...

The big STL Algorithms tutorial: sorting operations

In this next part of the big STL algorithm tutorial, we cover the sorting operations - except for ranges which will be covered in a different series. sort stable_sort partial_sort partia...

Refactoring for Software Design Smells

I was looking for some books for these months taking into consideration that I should improve my architecture and design skills. So I recently read Emergent Design and now Refactoring for Software ...

Can virtual functions have default arguments?

Yes, they can, but you should not rely on them, as you might not get what you’d expect. If you wonder how this topic came up, the answer is static code analysis! We have been using static code a...

Passion leads to specialization!

As you might know, I’m writing a book, its working title is “The Seniority Trap”. From time to time, I’ll post some parts of it, before it gets released. If you are interested in the updates, pleas...