Home
Sandor Dargo's Blog
Cancel

How to write your own C++ concepts? Part I.

During the previous weeks, we discussed the motivations behind C++ concepts and how to use them with functions and with classes. But we have hardly written any. We defined a functionally incomplete...

Concepts shipped with the C++ standard library

Welcome back to the series about C++ concepts. In the previous episodes, we discussed what are the motivations behind concepts, and then how to use them. Today we are going to have an overview of w...

Clean Agile: Back to Basics by Robert C. Martin

Clean Agile comes from Uncle Bob, one of the founding fathers of Agile, one of the seventeen people who authored the Agile Manifesto back in 2001. I thought he might have some interesting thoughts...

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?

This is an excerpt from by book called The Seniority Trap. I’m sharing some parts from each chapter. Check out the #thesenioritytrap for more parts. — Turning failures into progress is exactly wh...

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...