Home
Sandor Dargo's Blog
Cancel

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

Last week we started to discuss how to write our own concepts. Our first step was to combine different already existing concepts, then we continued with declaring constraints on the existence of ce...

You have to ask for it!

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. — I’ll tell you what. Those people who reject ...

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