struct A{ int a; };

A a[10];
for( A* i = a; i != a + 10; ++i )
a->a = 10;

これをSTLの関数オブジェクトまたはboostのbindを使って置換したいのですが
どうすればいいでしょうか?