Home
Sandor Dargo's Blog
Cancel

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

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!

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. — You dont’s specialize for life Choosing a ni...

The big STL Algorithms tutorial: partitioning operations

In this next part of the big STL algorithm tutorial, we cover the partitioning operations - except for ranges which will be covered in a different series. is_partitioned partition partitio...

Awaken the giant within by Tony Robbins

When I decided to read Awken the Giant Within, I was a bit surprised. I thought it’s much newer, but in fact, it’s from the very beginning of the 1990s. It doesn’t make it less relevant and this bo...