add code about use std::bind in std::for_each