3 ms·
> Why couldn't C++ at least already have long had convenience functions that just take a container and do the .begin() and .end() for you? It's just a boost he
by jcelerier 8y ago
> Why couldn't C++ at least already have long had convenience functions that just take a container and do the .begin() and .end() for you?
It's just a boost header that you can use which does exactly this : https://www.boost.org/doc/libs/1_69_0/libs/range/doc/html/index.html https://www.boost.org/doc/libs/1_69_0/libs/range/doc/html/in...
It's your problem if you haven't been using it.