Problem In one of previous posts (Readable for_each loop for maps) I have written such code which iterates over range of pairs and “explode” them into the lambda arguments list:

This code is good but it is limited only to containers with pairs (types with defined first and second  attributes). What we would like to have… Read More


Problem I have been talking with my colleague about traversing std::map and we both agree that using first-second attributes as a key-value pair is not the most readable solution.

It is not so bad but we would like to write something like this:

Solution I found a way of writing code similar to… Read More