Sandor Dargo's Blog
Cancel

# The big STL Algorithms tutorial: set operations

In this next part of the big STL algorithm tutorial, we are going to talk about set operations on sorted ranges: includes set_difference set_intersection set_symmetric_difference set_u...

# 2 ways to use static with functions in C++

I’ve been doing a code review lately and I saw the following piece of code (I anonymized it) in a .cpp file: static bool isWineColour(const std::string& iWineCoulour) { static const std::arr...

# The Richest Man in Babylon by George S Clason

The Richest Man in Babylon was first published in 1926, almost one hundred years ago. We might think about it as the father of all modern personal finance advice books. Especially if we consider ...

Always the Buyer is the title of another free e-book of Dan Sullivan (I recently reviewed The 4C’s formula). But this article now is not a book review. I haven’t read the book - yet. Benjamin P Ha...

# The big STL Algorithms tutorial: merge and inplace_merge

In this next part of the big STL algorithm tutorial, we are going to talk about two operations merge on sorted ranges: merge inplace_merge merge std::merge takes two sorted input ranges, ...

# The 4 C's formula by Dan Sullivan

I rarely review shortish free e-books, but when I thought about it, I realized there is no real reason behind. In fact, is that a problem that a book is shorter than a 100 pages? Value should not b...

# Multiple destructors with C++ concepts

We probably all learnt that one cannot overload the destructor. Hence I write about “the” destructor and a destructor… After all, it has no return type and it doesn’t take parameters. It’s also not...

# 3 ways to prevent micro-burnouts

I’ve been proposing some topics for a person I’m mentoring and one was “productivity/motivation”. She immediately became quite excited about the idea, so I asked what is going on. She told me that...

# C++ Best Practices by Jason Turner

This is a book that I’ve been waiting for to finally read for a long time. I could have bought it, but I decided that it’ll be the first book that I buy from the royalties I earned with How to use ...

# Different ways to achieve SFINAE

Life is a chain of opportunities. Each task you take on will lead you to more doors hiding other opportunities. Some are worth opening, some are not. Proofreading C++20: Get the Details by Rainer...