add code about use lambda in std::for_each