Home
Sandor Dargo's Blog
Cancel

The big STL Algorithms tutorial: for_each

In this next part of the big STL algorithm tutorial, I’ll explain only one function. The for_each algorithm. What does it do? for_each takes a range and a function to apply on each element of th...

Effective Modern C++ by Scott Meyers

Effective Modern C++ is the book with the biggest impact on my professional life recently. As I’ve written already, I used to work with older versions of C++, mostly with C++03. Scott Meyers in Ef...

Production code as a playground?

With one of my colleagues, we’ve been working a lot to create and foster a culture of learning, an environment where constant self-improvement and knowledge sharing is highly valued. Let’s say that...

The Curiously Recurring Template Pattern (CRTP)

In this article, we are going to discover the pattern that is called the Curiously Recurring Template Pattern. Are you curious? Read on! Introduction Have you ever wondered about a derived class...

Code Ahead by Yegor Bugayenko

Code Ahead, what shall I call you? You are a novel. A fiction. Yet according to you, you’re semi-autobiographical. You are a rather exact picture of how things go in software development. Yet you’r...

Do your job

It’s so easy to tell anyone that he shouldn’t care about this and that. He shouldn’t complain what the other does, shouldn’t care about the inhibitory conditions. But do you do your own job when yo...

The big STL Algorithms tutorial: all_of, any_of, none_of

In this first part of the big STL algorithm tutorial, I’ll start with the first chunk of the non-modifying sequence operations. Namely, in this post, you are going to read about all_of, any_of an...

The Manager's Path by Camille Fournier

Have you, Sandor, really read that book? - you might ask if you know me or you simply know what path I’m following. A hint: the technical path. Yet, my answer would be, of course, I had and it was ...

Virtue always has neighbours

Confucius wrote that “Virtue is never solitary; it always has neighbors.” What he meant by that was that good behaviour and good thinking is contagious. Is that actually true? I don’t have the an...

The big STL Algorithms tutorial: Introduction

I’ve already written quite a few articles about features introduced by C++ 11 and how much it changed how I look at the language. The feature I liked the most is probably the one of lambda expressi...