12 Different Ways to Filter Containers in Modern C++--Bartlomiej Filipek

Save to:
Instapaper Pocket Readability

Many ways.

12 Different Ways to Filter Containers in Modern C++

by Bartlomiej Filipek

From the article:

Do you know how many ways we can implement a filter function in C++?

While the problem is relatively easy to understand - take a container, copy elements that match a predicate and the return a new container - it’s good to exercise with the Standard Library and check a few ideas. We can also apply some Modern C++ techniques.

Let’s start!

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.