Since C++11 we have lambdas – anonymous functions that can be declared anywhere in code. They are quite a useful tool and have many additional capabilities when compared to regular functions. I am not going to talk about them here, as they are not the topic of this post, but one of them is especially […]