STL algorithms such as for_each applied to more than one arguments
<p>Is it possible to write something similar to <code>mem_fun</code> and <code>bind1st</code> etc. so that STL algorithms such as <code>for_each</code> can be applied to more than one arguments? Of course, all except one arguments are given, and the one that has not is going to be filled in by the container elements.</p>

<p>Can anyone please give such an example?</p>
