title: Calling a function on every element of a C++ vector
body: <p>In C++, is there a way to call a function on each element of a vector, without using a loop running over all vector elements? Something similar to a 'map' in Python.</p>