3 ms·
> I think it is a valid complaint. Most of time you want to apply something like "find" to the whole collection. frankly, this is a very overstated problem. It
by jcelerier 8y ago
> I think it is a valid complaint. Most of time you want to apply something like "find" to the whole collection.
frankly, this is a very overstated problem. It's trivial to write a header with such functions (e.g. https://github.com/OSSIA/libossia/blob/master/OSSIA/ossia/detail/algorithms.hpp https://github.com/OSSIA/libossia/blob/master/OSSIA/ossia/de...). And it's already provided by Boost if you use it.
- vardump 8y agoYeah, it's trivial to do that. But since it's not in STL, everyone will use a bit different implementations for something this mundane and common.