4 ms·
> could be much more readable as vec.map([](int i){ return i*i; }); That, however, violates the separation of concerns principle by mangling toge
by geezerjay 8y ago
> could be much more readable as vec.map([](int i){
return i*i;
});
That, however, violates the separation of concerns principle by mangling together data structures and algorithms.