3 ms·
You're really looking for `std::transform`. On the other hand, for(auto it(a.start()); it < a.end(); ++(*it++)); and for(auto &el: a) ++el; aren't t
by stochastic_monk 8y ago
You're really looking for `std::transform`. On the other hand,
for(auto it(a.start()); it < a.end(); ++(*it++));
and
for(auto &el: a) ++el;
aren't terribly verbose.