[Boost-users] Question about using Boost::for_each function to set a local variable if a condition is met