playing with boost foreach